mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Fixed: More improvements to sentry logging (#669)
* Only add the exception message for some types * Cleanse exception messages also * Don't put exception message into log It breaks the sentry grouping * Combine the two calculations of fingerprint
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Lidarr.Api.V1.Indexers
|
||||
}
|
||||
catch (ReleaseDownloadException ex)
|
||||
{
|
||||
_logger.Error(ex, ex.Message);
|
||||
_logger.Error(ex, "Getting release from indexer failed");
|
||||
throw new NzbDroneClientException(HttpStatusCode.Conflict, "Getting release from indexer failed");
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace Lidarr.Api.V1.Indexers
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error(ex, "Album search failed: " + ex.Message);
|
||||
_logger.Error(ex, "Album search failed");
|
||||
}
|
||||
|
||||
return new List<ReleaseResource>();
|
||||
@@ -119,7 +119,7 @@ namespace Lidarr.Api.V1.Indexers
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error(ex, "Artist search failed: " + ex.Message);
|
||||
_logger.Error(ex, "Artist search failed");
|
||||
}
|
||||
|
||||
return new List<ReleaseResource>();
|
||||
|
||||
Reference in New Issue
Block a user