mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 01:27:00 +00:00
Improved job thread execution locking log
This commit is contained in:
parent
1e9b279a9b
commit
6bab9a34dd
1 changed files with 8 additions and 1 deletions
|
@ -179,7 +179,14 @@ public virtual void QueueJob(Type jobType, int targetId = 0)
|
||||||
}
|
}
|
||||||
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…
Reference in a new issue