mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Add debug logging when a job is cancelled
This commit is contained in:
@@ -189,6 +189,7 @@ namespace Tgstation.Server.Host.Jobs
|
||||
if (!jobs.TryGetValue(job.Id.Value, out handler))
|
||||
return null;
|
||||
|
||||
logger.LogDebug("Cancelling job ID {jobId}...", job.Id.Value);
|
||||
handler.Cancel(); // this will ensure the db update is only done once
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user