1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-27 16:42:46 +00:00

Log global inner exceptions

This commit is contained in:
Keivan Beigi 2014-10-03 15:55:11 -07:00
parent aa75b3d331
commit 7b49669b95

View file

@ -32,6 +32,11 @@ private static void AppDomainException(Exception exception)
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);
}
} }
} }
} }