Add debug logging when a job is cancelled

This commit is contained in:
Dominion
2023-05-26 15:39:56 -04:00
parent 23664203bd
commit a3558f1c1e
@@ -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
}