mirror of
https://github.com/Readarr/Readarr
synced 2026-05-09 05:21:41 +02:00
Sentry logging exceptions
Fixes #855 Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
This commit is contained in:
parent
eecf08e063
commit
d93a0c27e9
1 changed files with 5 additions and 1 deletions
|
|
@ -206,7 +206,11 @@ private static List<string> GetFingerPrint(LogEventInfo logEvent)
|
||||||
if (ex != null)
|
if (ex != null)
|
||||||
{
|
{
|
||||||
fingerPrint.Add(ex.GetType().FullName);
|
fingerPrint.Add(ex.GetType().FullName);
|
||||||
fingerPrint.Add(ex.TargetSite.ToString());
|
if (ex.TargetSite != null)
|
||||||
|
{
|
||||||
|
fingerPrint.Add(ex.TargetSite.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
if (ex.InnerException != null)
|
if (ex.InnerException != null)
|
||||||
{
|
{
|
||||||
fingerPrint.Add(ex.InnerException.GetType().FullName);
|
fingerPrint.Add(ex.InnerException.GetType().FullName);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue