mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-30 04:24:02 +00:00
Sentry logging exceptions
Fixes #855 Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
This commit is contained in:
@@ -206,7 +206,11 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
||||
if (ex != null)
|
||||
{
|
||||
fingerPrint.Add(ex.GetType().FullName);
|
||||
fingerPrint.Add(ex.TargetSite.ToString());
|
||||
if (ex.TargetSite != null)
|
||||
{
|
||||
fingerPrint.Add(ex.TargetSite.ToString());
|
||||
}
|
||||
|
||||
if (ex.InnerException != null)
|
||||
{
|
||||
fingerPrint.Add(ex.InnerException.GetType().FullName);
|
||||
|
||||
Reference in New Issue
Block a user