Extend logging on startup

This commit is contained in:
Glax 2024-10-31 20:42:56 +01:00
parent dc9cd4b1dd
commit 9db3f1b0da

View File

@ -168,7 +168,11 @@ public class JobBoss : GlobalBase
{
Log($"Adding Job {job}");
if (!AddJob(job, file.FullName)) //If we detect a duplicate, delete the file.
file.MoveTo(string.Concat(file.FullName, ".failed"));
{
string path = string.Concat(file.FullName, ".failed");
file.MoveTo(path);
Log($"Duplicate detected or otherwise not able to add job to list.\nMoved job {job} to {path}");
}
}
}