mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
Log global inner exceptions
This commit is contained in:
@@ -32,6 +32,11 @@ namespace NzbDrone.Common.Instrumentation
|
|||||||
|
|
||||||
Console.WriteLine("EPIC FAIL: {0}", exception);
|
Console.WriteLine("EPIC FAIL: {0}", exception);
|
||||||
Logger.FatalException("EPIC FAIL: " + exception.Message, exception);
|
Logger.FatalException("EPIC FAIL: " + exception.Message, exception);
|
||||||
|
|
||||||
|
if (exception.InnerException != null)
|
||||||
|
{
|
||||||
|
AppDomainException(exception.InnerException);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user