When updating Jobfiles, dont write a new file if we werent able to successfully delete the old one
This commit is contained in:
parent
420013f07b
commit
4b88cdbd90
@ -203,7 +203,8 @@ public class JobBoss : GlobalBase
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log(e.ToString());
|
||||
Log($"Error deleting {oldFilePath} job {job.id}\n{e}");
|
||||
return; //Don't export a new file when we haven't actually deleted the old one
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user