Skip to content

Commit

Permalink
Fix logger string info
Browse files Browse the repository at this point in the history
  • Loading branch information
abeloin committed Dec 10, 2020
1 parent f549dd5 commit d4e5103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Jackett.Common/Indexers/CardigannIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1765,15 +1765,15 @@ protected async Task CheckIfLoginIsNeededAndLoginIfSo()
var loginNeeded = CheckIfLoginIsNeeded(testresponse, testResultDocument);
if (loginNeeded)
{
logger.Info(string.Format("2CardigannIndexer ({0}): Relogin required", Id));
logger.Debug(string.Format("CardigannIndexer ({0}): Relogin required to download torrent", Id));
var LoginResult = await DoLogin();
if (!LoginResult)
throw new Exception(string.Format("Relogin failed"));
await TestLogin();
}
else
{
logger.Info(string.Format("2CardigannIndexer ({0}): No relogin required", Id));
logger.Debug(string.Format("CardigannIndexer ({0}): No relogin required to download torrent", Id));
}
}
}
Expand Down

0 comments on commit d4e5103

Please sign in to comment.