Catch all Exceptions in Job

This commit is contained in:
Glax 2025-05-16 21:18:46 +02:00
parent e45b72dcf9
commit 63fee081e6

View File

@ -81,7 +81,7 @@ public abstract class Job
Log.Info($"Job {JobId} completed. Generated {newJobs.Length} new jobs.");
return newJobs;
}
catch (DbUpdateException e)
catch (Exception e)
{
this.state = JobState.Failed;
Log.Error($"Failed to run job {JobId}", e);