Sentry logging exceptions

Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
pull/3011/head
Qstick 2 years ago
parent dfb2cf945f
commit a344604595

@ -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);

Loading…
Cancel
Save