Update Jellyfin.Server/Program.cs

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
pull/1942/head
Bond-009 5 years ago committed by GitHub
parent 2702dca8b6
commit 1258a3766f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,7 @@ namespace Jellyfin.Server
var stopWatch = new Stopwatch();
stopWatch.Start();
// Log all uncaught exception to std error
// Log all uncaught exceptions to std error
static void UnhandledExceptionToConsole(object sender, UnhandledExceptionEventArgs e) =>
Console.Error.WriteLine("Unhandled Exception\n" + e.ExceptionObject.ToString());
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionToConsole;

Loading…
Cancel
Save