Skip to content

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.

fail job instead of runtime exception

Andras Bacsai9af3ce4be595
diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.php
index 61c0cc3fef..24340aa078 100644
--- a/app/Jobs/ContainerStatusJob.php
+++ b/app/Jobs/ContainerStatusJob.php
@@ -45,7 +45,8 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted
public function handle()
{
if (!$this->server->isServerReady($this->tries)) {
- throw new \RuntimeException('Server is not reachable.');
+ $this->fail('Server is not reachable.');
+ return;
};
try {
if ($this->server->isSwarm()) {
diff --git a/config/sentry.php b/config/sentry.php
index 4ac1a09af8..c1a49e4282 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.171',
+ 'release' => '4.0.0-beta.172',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index c2306c184e..57d174207e 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.171';
+return '4.0.0-beta.172';
diff --git a/versions.json b/versions.json
index 62b001e638..f3aa150d55 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.171"
+ "version": "4.0.0-beta.172"
}
}
}