mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Log global inner exceptions
This commit is contained in:
parent
aa75b3d331
commit
7b49669b95
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue