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

@@ -136,6 +136,7 @@ class ApplicationDeploymentJob implements ShouldQueue
} catch (Exception $e) {
ray($e);
$this->fail($e);
throw $e;
} finally {
if (isset($this->docker_compose_base64)) {
$readme = generate_readme_file($this->application->name, $this->application_deployment_queue->updated_at);