mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-16 21:15:33 -04:00
Improved job thread execution locking log
This commit is contained in:
@@ -179,7 +179,14 @@ namespace NzbDrone.Core.Providers.Jobs
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.Error("Execution lock has fucked up. Thread still active. Ignoring request.");
|
||||
var messge = "Job Thread is null";
|
||||
|
||||
if (_jobThread != null)
|
||||
{
|
||||
messge = "Job Thread State: " + _jobThread.ThreadState;
|
||||
}
|
||||
|
||||
Logger.Error("Execution lock has fucked up. {0}. Ignoring request.", messge);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user