An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(ScheduledTaskJob): replace generic Exception with NonReportableException for better error handling
Andras Bacsaib1a2938f8474
diff --git a/app/Jobs/ScheduledTaskJob.php b/app/Jobs/ScheduledTaskJob.phpindex 6c0c017e73..6095953562 100644--- a/app/Jobs/ScheduledTaskJob.php+++ b/app/Jobs/ScheduledTaskJob.php@@ -3,6 +3,7 @@namespace App\Jobs;use App\Events\ScheduledTaskDone;+use App\Exceptions\NonReportableException;use App\Models\Application;use App\Models\ScheduledTask;use App\Models\ScheduledTaskExecution;@@ -120,7 +121,7 @@ class ScheduledTaskJob implements ShouldQueue}// No valid container was found.- throw new \Exception('ScheduledTaskJob failed: No valid container was found. Is the container name correct?');+ throw new NonReportableException('ScheduledTaskJob failed: No valid container was found. Is the container name correct?');} catch (\Throwable $e) {if ($this->task_log) {$this->task_log->update([