1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 10:17:47 +00:00

Log where the torrent request is being redirected to

This commit is contained in:
Mark McDowall 2015-01-06 07:12:17 -08:00
parent 4fd8fce4a5
commit 3055b90178

View file

@ -102,6 +102,8 @@ namespace NzbDrone.Core.Download
{
var locationHeader = (string)response.Headers.GetValueOrDefault("Location", null);
_logger.Trace("Torrent request is being redirected to: {0}", locationHeader);
if (locationHeader != null)
{
if (locationHeader.StartsWith("magnet:"))