mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Log global inner exceptions
This commit is contained in:
parent
aa75b3d331
commit
7b49669b95
@ -32,6 +32,11 @@ private static void AppDomainException(Exception exception)
|
||||
|
||||
Console.WriteLine("EPIC FAIL: {0}", exception);
|
||||
Logger.FatalException("EPIC FAIL: " + exception.Message, exception);
|
||||
|
||||
if (exception.InnerException != null)
|
||||
{
|
||||
AppDomainException(exception.InnerException);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user