mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
added more info to decision engine exception reporting.
This commit is contained in:
parent
f162f164e7
commit
4e06cf0fa6
5 changed files with 8 additions and 41 deletions
|
@ -56,6 +56,11 @@ namespace NzbDrone.Common.Instrumentation
|
|||
dictionary.Add("ex", logEvent.Exception.ToString());
|
||||
dictionary.Add("extyp", logEvent.Exception.GetType().Name);
|
||||
dictionary.Add("hash", logEvent.GetHash());
|
||||
|
||||
foreach (var key in logEvent.Exception.Data.Keys)
|
||||
{
|
||||
dictionary.Add(key.ToString(), logEvent.Exception.Data[key]);
|
||||
}
|
||||
}
|
||||
|
||||
dictionary.Add("logger", logEvent.LoggerName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue