mirror of
https://github.com/C9Glax/tranga.git
synced 2025-01-12 03:17:33 +01:00
Extend logging on startup
This commit is contained in:
parent
dc9cd4b1dd
commit
9db3f1b0da
@ -167,8 +167,12 @@ public class JobBoss : GlobalBase
|
||||
else
|
||||
{
|
||||
Log($"Adding Job {job}");
|
||||
if(!AddJob(job, file.FullName)) //If we detect a duplicate, delete the file.
|
||||
file.MoveTo(string.Concat(file.FullName, ".failed"));
|
||||
if (!AddJob(job, file.FullName)) //If we detect a duplicate, delete the file.
|
||||
{
|
||||
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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user