throw errors in jobs

This commit is contained in:
Andras Bacsai
2023-08-24 21:09:58 +02:00
parent 90dba34ecc
commit b674a0ed88
14 changed files with 19 additions and 5 deletions

View File

@@ -46,8 +46,9 @@ class ApplicationContainerStatusJob implements ShouldQueue, ShouldBeUnique
$this->application->status = $status;
$this->application->save();
}
} catch (\Exception $e) {
ray($e->getMessage());
} catch (\Exception $th) {
ray($th->getMessage());
throw $th;
}
}
}