Log global inner exceptions

pull/3113/head
Keivan Beigi 10 years ago
parent aa75b3d331
commit 7b49669b95

@ -32,6 +32,11 @@ namespace NzbDrone.Common.Instrumentation
Console.WriteLine("EPIC FAIL: {0}", exception);
Logger.FatalException("EPIC FAIL: " + exception.Message, exception);
if (exception.InnerException != null)
{
AppDomainException(exception.InnerException);
}
}
}
}
Loading…
Cancel
Save