mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-18 12:54:53 +00:00
Fix log typo in release/push
This commit is contained in:
parent
bee2b44918
commit
aab13e028d
1 changed files with 3 additions and 2 deletions
|
@ -47,6 +47,7 @@ public ReleasePushController(IMakeDownloadDecision downloadDecisionMaker,
|
|||
}
|
||||
|
||||
[HttpPost]
|
||||
[Consumes("application/json")]
|
||||
public ActionResult<ReleaseResource> Create(ReleaseResource release)
|
||||
{
|
||||
_logger.Info("Release pushed: {0} - {1}", release.Title, release.DownloadUrl);
|
||||
|
@ -92,7 +93,7 @@ private void ResolveIndexer(ReleaseInfo release)
|
|||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("Push Release {0} not associated with unknown indexer {1}.", release.Title, release.Indexer);
|
||||
_logger.Debug("Push Release {0} not associated with known indexer {1}.", release.Title, release.Indexer);
|
||||
}
|
||||
}
|
||||
else if (release.IndexerId != 0 && release.Indexer.IsNullOrWhiteSpace())
|
||||
|
@ -105,7 +106,7 @@ private void ResolveIndexer(ReleaseInfo release)
|
|||
}
|
||||
catch (ModelNotFoundException)
|
||||
{
|
||||
_logger.Debug("Push Release {0} not associated with unknown indexer {1}.", release.Title, release.IndexerId);
|
||||
_logger.Debug("Push Release {0} not associated with known indexer {1}.", release.Title, release.IndexerId);
|
||||
release.IndexerId = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue