mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Sentry logging exceptions
Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
This commit is contained in:
parent
dfb2cf945f
commit
a344604595
1 changed files with 5 additions and 1 deletions
|
@ -206,7 +206,11 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
||||||
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…
Add table
Add a link
Reference in a new issue