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
GlobalCrashHandler incorrectly (I believe) sends the UnhandledExceptionEventArgs rather than the Exception to log.FatalAsync(...). This means that any custom layouts do not show the exception and you get different outputs depending on whether the log came from a log.Fatal() call, or an unhandled exception caught by GlobalCrashHandler.
GlobalCrashHandler
incorrectly (I believe) sends theUnhandledExceptionEventArgs
rather than the Exception tolog.FatalAsync(...)
. This means that any custom layouts do not show the exception and you get different outputs depending on whether the log came from alog.Fatal()
call, or an unhandled exception caught byGlobalCrashHandler
.await log.FatalAsync("The application crashed: " + e.Message, e);
should be:
await log.FatalAsync("The application crashed: " + e.Message, e.Exception);
The text was updated successfully, but these errors were encountered: