diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index f010c33b6..2584df48b 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -77,6 +77,9 @@ class Handler extends ExceptionHandler ); } ); + if (str($e->getMessage())->contains('No space left on device')) { + return; + } ray('reporting to sentry'); Integration::captureUnhandledException($e); }); diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index 86a874985..0911aa118 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -1405,7 +1405,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal ]); } } else { - $generatedValue = generateEnvValue($command, $service); + $generatedValue = generateEnvValue($command); if (!$foundEnv) { EnvironmentVariable::create([ 'key' => $key, @@ -1581,7 +1581,7 @@ function parseEnvVariable(Str|string $value) 'port' => $port, ]; } -function generateEnvValue(string $command, Service $service) +function generateEnvValue(string $command, ?Service $service = null) { switch ($command) { case 'PASSWORD': diff --git a/config/sentry.php b/config/sentry.php index 438c45246..13331bc77 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.232', + 'release' => '4.0.0-beta.233', // 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 2ff41e455..7aab683f5 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@