mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-21 22:05:38 -04:00
Also add as data to exception so sentry gets it.
This commit is contained in:
@@ -301,8 +301,9 @@ namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
return parser.ParseResponse(response).ToList();
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.WithData(response.HttpResponse, 128*1024);
|
||||
_logger.Trace("Unexpected Response content ({0} bytes): {1}", response.HttpResponse.ResponseData.Length, response.HttpResponse.Content);
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user