You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Unhandled exception. System.Diagnostics.Tracing.EventSourceException: An error occurred when writing to a listener.
---> System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseDecimal(ReadOnlySpan1 value, NumberStyles styles, NumberFormatInfo info) at CZGL.ProcessMetrics.Counters.EventSourceCreatedListener.GetRelevantMetric(IDictionary2 eventPayload)
at CZGL.ProcessMetrics.Counters.EventSourceCreatedListener.OnEventWritten(EventWrittenEventArgs eventData)
at System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(Int32 eventId, EventWrittenEventArgs eventCallbackArgs)
--- End of inner exception stack trace ---
nuget:
<PackageReference Include="CZGL.ProcessMetrics" Version="1.0.0" />
runtime: aspnet:5.0-alpine
Error:
Unhandled exception. System.Diagnostics.Tracing.EventSourceException: An error occurred when writing to a listener.
---> System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseDecimal(ReadOnlySpan
1 value, NumberStyles styles, NumberFormatInfo info) at CZGL.ProcessMetrics.Counters.EventSourceCreatedListener.GetRelevantMetric(IDictionary
2 eventPayload)at CZGL.ProcessMetrics.Counters.EventSourceCreatedListener.OnEventWritten(EventWrittenEventArgs eventData)
at System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(Int32 eventId, EventWrittenEventArgs eventCallbackArgs)
--- End of inner exception stack trace ---
出现得很频繁,基本启动10分钟就挂了
目测是这里报错了
CZGL.SystemInfo/src/CZGL.ProcessMetrics/Counters/EventSourceCreatedListener.cs
Line 41 in e050a41
建议添加全局异常处理, 不让程序崩掉
The text was updated successfully, but these errors were encountered: