Improved job thread execution locking log

pull/7/merge
kay.one 13 years ago
parent 1e9b279a9b
commit 6bab9a34dd

@ -179,7 +179,14 @@ namespace NzbDrone.Core.Providers.Jobs
} }
else 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);
} }
} }

Loading…
Cancel
Save