mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed the issue when we are logging errors in the logs incorrectly
This commit is contained in:
parent
56c7cf973d
commit
f772a60bc3
1 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,9 @@ namespace Ombi.Schedule.Jobs.Radarr
|
|||
var movieIds = new List<RadarrCache>();
|
||||
foreach (var m in movies)
|
||||
{
|
||||
if (m.tmdbId > 0 && m.monitored)
|
||||
if(m.monitored)
|
||||
{
|
||||
if (m.tmdbId > 0)
|
||||
{
|
||||
movieIds.Add(new RadarrCache
|
||||
{
|
||||
|
@ -69,6 +71,7 @@ namespace Ombi.Schedule.Jobs.Radarr
|
|||
Logger.LogError("TMDBId is not > 0 for movie {0}", m.title);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
using (var tran = await _ctx.Database.BeginTransactionAsync())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue