1
0
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:
Taloth Saldono
2018-06-08 19:58:58 +02:00
parent cb372f284d
commit 2ed5abf4d3
2 changed files with 14 additions and 1 deletions
@@ -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;
}