2
0

When updating Jobfiles, dont write a new file if we werent able to successfully delete the old one

This commit is contained in:
Glax 2024-10-30 20:31:16 +01:00
parent 420013f07b
commit 4b88cdbd90

View File

@ -203,7 +203,8 @@ public class JobBoss : GlobalBase
} }
catch (Exception e) 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
} }
} }