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: errors
Andras Bacsai64a65e201803
diff --git a/app/Actions/CoolifyTask/RunRemoteProcess.php b/app/Actions/CoolifyTask/RunRemoteProcess.phpindex 192144f8bd..1444684a0f 100644--- a/app/Actions/CoolifyTask/RunRemoteProcess.php+++ b/app/Actions/CoolifyTask/RunRemoteProcess.php@@ -97,7 +97,6 @@ class RunRemoteProcess'status' => $status->value,]);$this->activity->save();-if ($processResult->exitCode() != 0 && !$this->ignore_errors) {throw new \RuntimeException($processResult->errorOutput());}diff --git a/app/Actions/License/CheckResaleLicense.php b/app/Actions/License/CheckResaleLicense.phpindex 54f97c8348..8dd456ccd6 100644--- a/app/Actions/License/CheckResaleLicense.php+++ b/app/Actions/License/CheckResaleLicense.php@@ -57,13 +57,13 @@ class CheckResaleLicensethrow new \Exception('Invalid license key.');}throw new \Exception('Cannot activate license key.');- } catch (\Throwable $th) {- ray($th);+ } catch (\Throwable $e) {+ ray($e);$settings->update(['resale_license' => null,'is_resale_license_active' => false,]);- throw $th;+ throw $e;}}}diff --git a/app/Actions/Proxy/SaveConfigurationSync.php b/app/Actions/Proxy/SaveConfigurationSync.phpindex b35b4375bd..8be3ca9db4 100644--- a/app/Actions/Proxy/SaveConfigurationSync.php+++ b/app/Actions/Proxy/SaveConfigurationSync.php@@ -20,8 +20,8 @@ class SaveConfigurationSync"mkdir -p $proxy_path","echo '$docker_compose_yml_base64' | base64 -d > $proxy_path/docker-compose.yml",], $server);- } catch (\Throwable $th) {- ray($th);+ } catch (\Throwable $e) {+ ray($e);}}diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.phpindex de4700b753..bdf8275c7b 100644--- a/app/Actions/Server/UpdateCoolify.php+++ b/app/Actions/Server/UpdateCoolify.php@@ -43,11 +43,11 @@ class UpdateCoolify$this->update();}send_internal_notification('InstanceAutoUpdateJob done to version: ' . $this->latestVersion . ' from version: ' . $this->currentVersion);- } catch (\Exception $th) {+ } catch (\Throwable $e) {ray('InstanceAutoUpdateJob failed');- ray($th->getMessage());- send_internal_notification('InstanceAutoUpdateJob failed: ' . $th->getMessage());- throw $th;+ ray($e->getMessage());+ send_internal_notification('InstanceAutoUpdateJob failed: ' . $e->getMessage());+ throw $e;}}diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex ae682e682f..446b0c6932 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -26,7 +26,7 @@ class Init extends Command$deployment->status = ApplicationDeploymentStatus::FAILED->value;$deployment->save();}- } catch (\Exception $e) {+ } catch (\Throwable $e) {echo "Error: {$e->getMessage()}\n";}}diff --git a/app/Console/Commands/SyncBunny.php b/app/Console/Commands/SyncBunny.phpindex 3f4bc412a3..4a9945ece1 100644--- a/app/Console/Commands/SyncBunny.php+++ b/app/Console/Commands/SyncBunny.php@@ -82,7 +82,7 @@ class SyncBunny extends Command$pool->purge("$bunny_cdn/$bunny_cdn_path/$versions"),]);echo "All files uploaded & purged...\n";- } catch (\Exception $e) {+ } catch (\Throwable $e) {echo $e->getMessage();}}diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex d8cf0c9cfb..17db86d13b 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -25,7 +25,7 @@ class Handler extends ExceptionHandler* @var array<int, class-string<\Throwable>>*/protected $dontReport = [- //+ ProcessException::class];/*** A list of the inputs that are never flashed to the session on validation exceptions.diff --git a/app/Exceptions/ProcessException.php b/app/Exceptions/ProcessException.phpnew file mode 100644index 0000000000..68dbb53b27--- /dev/null+++ b/app/Exceptions/ProcessException.php@@ -0,0 +1,10 @@+<?php++namespace App\Exceptions;++use Exception;++class ProcessException extends Exception+{++}diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpindex 29d705faf9..913879c6bc 100644--- a/app/Http/Controllers/Controller.php+++ b/app/Http/Controllers/Controller.php@@ -154,8 +154,8 @@ class Controller extends BaseController$invitation->delete();abort(401);}- } catch (Throwable $th) {- throw $th;+ } catch (Throwable $e) {+ throw $e;}}@@ -172,8 +172,8 @@ class Controller extends BaseController}$invitation->delete();return redirect()->route('team.index');- } catch (Throwable $th) {- throw $th;+ } catch (Throwable $e) {+ throw $e;}}}diff --git a/app/Http/Livewire/Boarding/Index.php b/app/Http/Livewire/Boarding/Index.phpindex 44b45dee7b..2cb3b10496 100644--- a/app/Http/Livewire/Boarding/Index.php+++ b/app/Http/Livewire/Boarding/Index.php@@ -193,7 +193,7 @@ uZx9iFkCELtxrh31QJ68AAAAEXNhaWxANzZmZjY2ZDJlMmRkAQIDBA==}$this->getProxyType();- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(customErrorMessage: "Server is not reachable. Reason: {$e->getMessage()}", that: $this);}}diff --git a/app/Http/Livewire/CheckLicense.php b/app/Http/Livewire/CheckLicense.phpindex 3afefed342..3c5d1b8f23 100644--- a/app/Http/Livewire/CheckLicense.php+++ b/app/Http/Livewire/CheckLicense.php@@ -34,9 +34,9 @@ class CheckLicense extends Componenttry {resolve(CheckResaleLicense::class)();$this->emit('reloadWindow');- } catch (\Throwable $th) {- session()->flash('error', 'Something went wrong. Please contact support. <br>Error: ' . $th->getMessage());- ray($th->getMessage());+ } catch (\Throwable $e) {+ session()->flash('error', 'Something went wrong. Please contact support. <br>Error: ' . $e->getMessage());+ ray($e->getMessage());return redirect()->to('/settings/license');}}diff --git a/app/Http/Livewire/Destination/Form.php b/app/Http/Livewire/Destination/Form.phpindex 56c7ba5edc..9bfb8cf748 100644--- a/app/Http/Livewire/Destination/Form.php+++ b/app/Http/Livewire/Destination/Form.php@@ -37,7 +37,7 @@ class Form extends Component}$this->destination->delete();return redirect()->route('dashboard');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}diff --git a/app/Http/Livewire/Destination/New/StandaloneDocker.php b/app/Http/Livewire/Destination/New/StandaloneDocker.phpindex 1af7bc2df9..519b1e7004 100644--- a/app/Http/Livewire/Destination/New/StandaloneDocker.php+++ b/app/Http/Livewire/Destination/New/StandaloneDocker.php@@ -71,7 +71,7 @@ class StandaloneDocker extends Component}$this->createNetworkAndAttachToProxy();return redirect()->route('destination.show', $docker->uuid);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/ForcePasswordReset.php b/app/Http/Livewire/ForcePasswordReset.phpindex df2b376919..732859280b 100644--- a/app/Http/Livewire/ForcePasswordReset.php+++ b/app/Http/Livewire/ForcePasswordReset.php@@ -36,7 +36,7 @@ class ForcePasswordReset extends Componentsend_internal_notification('First login for ' . auth()->user()->email);}return redirect()->route('dashboard');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Help.php b/app/Http/Livewire/Help.phpindex 1078215018..9f3ca434f9 100644--- a/app/Http/Livewire/Help.php+++ b/app/Http/Livewire/Help.php@@ -43,7 +43,7 @@ class Help extends Component$mail->subject("[HELP - {$subscriptionType}]: {$this->subject}");send_user_an_email($mail, '[email protected]');$this->emit('success', 'Your message has been sent successfully. We will get in touch with you as soon as possible.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}diff --git a/app/Http/Livewire/Notifications/DiscordSettings.php b/app/Http/Livewire/Notifications/DiscordSettings.phpindex cd7a413a5f..97a8878f17 100644--- a/app/Http/Livewire/Notifications/DiscordSettings.php+++ b/app/Http/Livewire/Notifications/DiscordSettings.php@@ -29,7 +29,7 @@ class DiscordSettings extends Component{try {$this->submit();- } catch (\Exception $e) {+ } catch (\Throwable $e) {ray($e->getMessage());$this->team->discord_enabled = false;$this->validate();diff --git a/app/Http/Livewire/Notifications/EmailSettings.php b/app/Http/Livewire/Notifications/EmailSettings.phpindex 4ef735a043..939b8bce03 100644--- a/app/Http/Livewire/Notifications/EmailSettings.php+++ b/app/Http/Livewire/Notifications/EmailSettings.php@@ -63,7 +63,7 @@ class EmailSettings extends Component]);$this->team->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -82,7 +82,7 @@ class EmailSettings extends Component$this->team->resend_enabled = false;$this->team->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -92,7 +92,7 @@ class EmailSettings extends Componenttry {$this->team->smtp_enabled = false;$this->submitResend();- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->team->smtp_enabled = false;return general_error_handler($e, $this);}@@ -102,7 +102,7 @@ class EmailSettings extends Componenttry {$this->team->resend_enabled = false;$this->submit();- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->team->smtp_enabled = false;return general_error_handler($e, $this);}@@ -131,7 +131,7 @@ class EmailSettings extends Component]);$this->team->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->team->smtp_enabled = false;return general_error_handler($e, $this);}@@ -146,7 +146,7 @@ class EmailSettings extends Component$this->team->save();refreshSession();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->team->resend_enabled = false;return general_error_handler($e, $this);}diff --git a/app/Http/Livewire/Notifications/TelegramSettings.php b/app/Http/Livewire/Notifications/TelegramSettings.phpindex d6c6c8395a..15dca14901 100644--- a/app/Http/Livewire/Notifications/TelegramSettings.php+++ b/app/Http/Livewire/Notifications/TelegramSettings.php@@ -35,7 +35,7 @@ class TelegramSettings extends Component{try {$this->submit();- } catch (\Exception $e) {+ } catch (\Throwable $e) {ray($e->getMessage());$this->team->telegram_enabled = false;$this->validate();diff --git a/app/Http/Livewire/PrivateKey/Change.php b/app/Http/Livewire/PrivateKey/Change.phpindex 6c849b0a99..a85bac8d2e 100644--- a/app/Http/Livewire/PrivateKey/Change.php+++ b/app/Http/Livewire/PrivateKey/Change.php@@ -38,7 +38,7 @@ class Change extends Componentreturn redirect()->route('security.private-key.index');}$this->emit('error', 'This private key is in use and cannot be deleted. Please delete all servers, applications, and GitHub/GitLab apps that use this private key before deleting it.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}@@ -49,7 +49,7 @@ class Change extends Component$this->private_key->private_key = formatPrivateKey($this->private_key->private_key);$this->private_key->save();refresh_server_connection($this->private_key);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/PrivateKey/Create.php b/app/Http/Livewire/PrivateKey/Create.phpindex eac7493993..37363195dd 100644--- a/app/Http/Livewire/PrivateKey/Create.php+++ b/app/Http/Livewire/PrivateKey/Create.php@@ -38,7 +38,7 @@ class Create extends Componentreturn redirect()->route('server.create');}return redirect()->route('security.private-key.show', ['private_key_uuid' => $private_key->uuid]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/AddEmpty.php b/app/Http/Livewire/Project/AddEmpty.phpindex fc20f9850f..8d2399a477 100644--- a/app/Http/Livewire/Project/AddEmpty.php+++ b/app/Http/Livewire/Project/AddEmpty.php@@ -28,7 +28,7 @@ class AddEmpty extends Component'team_id' => currentTeam()->id,]);return redirect()->route('project.show', $project->uuid);- } catch (\Exception $e) {+ } catch (\Throwable $e) {general_error_handler($e, $this);} finally {$this->name = '';diff --git a/app/Http/Livewire/Project/AddEnvironment.php b/app/Http/Livewire/Project/AddEnvironment.phpindex ea38df073a..fc0ac61c62 100644--- a/app/Http/Livewire/Project/AddEnvironment.php+++ b/app/Http/Livewire/Project/AddEnvironment.php@@ -31,7 +31,7 @@ class AddEnvironment extends Component'project_uuid' => $this->project->uuid,'environment_name' => $environment->name,]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {general_error_handler($e, $this);} finally {$this->name = '';diff --git a/app/Http/Livewire/Project/Application/General.php b/app/Http/Livewire/Project/Application/General.phpindex 13d73c36e2..0f68a8a2c3 100644--- a/app/Http/Livewire/Project/Application/General.php+++ b/app/Http/Livewire/Project/Application/General.php@@ -161,7 +161,7 @@ class General extends Component}$this->application->save();$this->emit('success', 'Application settings updated!');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/Database/BackupEdit.php b/app/Http/Livewire/Project/Database/BackupEdit.phpindex 39b29c83f5..a8a0ef055a 100644--- a/app/Http/Livewire/Project/Database/BackupEdit.php+++ b/app/Http/Livewire/Project/Database/BackupEdit.php@@ -51,7 +51,7 @@ class BackupEdit extends Component$this->backup->save();$this->backup->refresh();$this->emit('success', 'Backup updated successfully');- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->emit('error', $e->getMessage());}}@@ -76,7 +76,7 @@ class BackupEdit extends Component$this->backup->save();$this->backup->refresh();$this->emit('success', 'Backup updated successfully');- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->emit('error', $e->getMessage());}}diff --git a/app/Http/Livewire/Project/Database/CreateScheduledBackup.php b/app/Http/Livewire/Project/Database/CreateScheduledBackup.phpindex 9297f65f6b..d9887efbf9 100644--- a/app/Http/Livewire/Project/Database/CreateScheduledBackup.php+++ b/app/Http/Livewire/Project/Database/CreateScheduledBackup.php@@ -42,7 +42,7 @@ class CreateScheduledBackup extends Component'team_id' => currentTeam()->id,]);$this->emit('refreshScheduledBackups');- } catch (\Exception $e) {+ } catch (\Throwable $e) {general_error_handler($e, $this);} finally {$this->frequency = '';diff --git a/app/Http/Livewire/Project/Edit.php b/app/Http/Livewire/Project/Edit.phpindex 60702ca3ee..9d5342b5a2 100644--- a/app/Http/Livewire/Project/Edit.php+++ b/app/Http/Livewire/Project/Edit.php@@ -19,7 +19,7 @@ class Edit extends Componenttry {$this->project->save();$this->emit('saved');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}diff --git a/app/Http/Livewire/Project/New/GithubPrivateRepository.php b/app/Http/Livewire/Project/New/GithubPrivateRepository.phpindex dec4e80e8c..cf371404a4 100644--- a/app/Http/Livewire/Project/New/GithubPrivateRepository.php+++ b/app/Http/Livewire/Project/New/GithubPrivateRepository.php@@ -164,7 +164,7 @@ class GithubPrivateRepository extends Component'environment_name' => $environment->name,'project_uuid' => $project->uuid,]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.phpindex d18fe2541d..21fa87e428 100644--- a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php+++ b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php@@ -117,7 +117,7 @@ class GithubPrivateRepositoryDeployKey extends Component'environment_name' => $environment->name,'application_uuid' => $application->uuid,]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/New/PublicGitRepository.php b/app/Http/Livewire/Project/New/PublicGitRepository.phpindex eb36cb1f15..105a561671 100644--- a/app/Http/Livewire/Project/New/PublicGitRepository.php+++ b/app/Http/Livewire/Project/New/PublicGitRepository.php@@ -75,14 +75,14 @@ class PublicGitRepository extends Component$this->get_git_source();$this->get_branch();$this->selected_branch = $this->git_branch;- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}if (!$this->branch_found && $this->git_branch == 'main') {try {$this->git_branch = 'master';$this->get_branch();- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}@@ -161,7 +161,7 @@ class PublicGitRepository extends Component'environment_name' => $environment->name,'application_uuid' => $application->uuid,]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/New/Select.php b/app/Http/Livewire/Project/New/Select.phpindex 0ea7fd8c10..9a64a0e318 100644--- a/app/Http/Livewire/Project/New/Select.php+++ b/app/Http/Livewire/Project/New/Select.php@@ -40,7 +40,7 @@ class Select extends Component// try {// instantCommand("psql {$this->existingPostgresqlUrl} -c 'SELECT 1'");// $this->emit('success', 'Successfully connected to the database.');- // } catch (\Exception $e) {+ // } catch (\Throwable $e) {// return general_error_handler($e, $this);// }// }diff --git a/app/Http/Livewire/Project/Shared/EnvironmentVariable/All.php b/app/Http/Livewire/Project/Shared/EnvironmentVariable/All.phpindex 899060085e..d88a71a1b6 100644--- a/app/Http/Livewire/Project/Shared/EnvironmentVariable/All.php+++ b/app/Http/Livewire/Project/Shared/EnvironmentVariable/All.php@@ -108,7 +108,7 @@ class All extends Component$environment->save();$this->refreshEnvs();$this->emit('success', 'Environment variable added successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/Shared/ResourceLimits.php b/app/Http/Livewire/Project/Shared/ResourceLimits.phpindex 6b4ae7e3a2..edf6702c6b 100644--- a/app/Http/Livewire/Project/Shared/ResourceLimits.php+++ b/app/Http/Livewire/Project/Shared/ResourceLimits.php@@ -53,7 +53,7 @@ class ResourceLimits extends Component$this->validate();$this->resource->save();$this->emit('success', 'Resource limits updated successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Project/Shared/Storages/All.php b/app/Http/Livewire/Project/Shared/Storages/All.phpindex ee016143b8..db9dd19f54 100644--- a/app/Http/Livewire/Project/Shared/Storages/All.php+++ b/app/Http/Livewire/Project/Shared/Storages/All.php@@ -28,7 +28,7 @@ class All extends Component$this->resource->refresh();$this->emit('success', 'Storage added successfully');$this->emit('clearAddStorage');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/RunCommand.php b/app/Http/Livewire/RunCommand.phpindex 747ce95684..2f0edc9da6 100755--- a/app/Http/Livewire/RunCommand.php+++ b/app/Http/Livewire/RunCommand.php@@ -32,7 +32,7 @@ class RunCommand extends Componenttry {$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first(), ignore_errors: true);$this->emit('newMonitorActivity', $activity->id);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}diff --git a/app/Http/Livewire/Server/Form.php b/app/Http/Livewire/Server/Form.phpindex b3346fa23f..53cf8234d1 100644--- a/app/Http/Livewire/Server/Form.php+++ b/app/Http/Livewire/Server/Form.php@@ -66,7 +66,7 @@ class Form extends Component} else {$this->emit('error', 'Old (lower than 23) or no Docker version detected. Install Docker Engine on the General tab.');}- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, that: $this);}}@@ -81,7 +81,7 @@ class Form extends Component}$this->server->delete();return redirect()->route('server.all');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Server/New/ByIp.php b/app/Http/Livewire/Server/New/ByIp.phpindex 7b3297995d..d0b44ecaf7 100644--- a/app/Http/Livewire/Server/New/ByIp.php+++ b/app/Http/Livewire/Server/New/ByIp.php@@ -78,7 +78,7 @@ class ByIp extends Component$server->settings->is_part_of_swarm = $this->is_part_of_swarm;$server->settings->save();return redirect()->route('server.show', $server->uuid);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}diff --git a/app/Http/Livewire/Server/Proxy.php b/app/Http/Livewire/Server/Proxy.phpindex 2e8530e1c4..c11476d651 100644--- a/app/Http/Livewire/Server/Proxy.php+++ b/app/Http/Livewire/Server/Proxy.php@@ -55,7 +55,7 @@ class Proxy extends Componentsetup_default_redirect_404(redirect_url: $this->server->proxy->redirect_url, server: $this->server);$this->emit('success', 'Proxy configuration saved.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}@@ -64,7 +64,7 @@ class Proxy extends Component{try {$this->proxy_settings = resolve(CheckConfigurationSync::class)($this->server, true);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}@@ -73,7 +73,7 @@ class Proxy extends Component{try {$this->proxy_settings = resolve(CheckConfigurationSync::class)($this->server);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e);}}diff --git a/app/Http/Livewire/Server/ShowPrivateKey.php b/app/Http/Livewire/Server/ShowPrivateKey.phpindex 993afde002..cfb1cdd67a 100644--- a/app/Http/Livewire/Server/ShowPrivateKey.php+++ b/app/Http/Livewire/Server/ShowPrivateKey.php@@ -21,7 +21,7 @@ class ShowPrivateKey extends Component$this->server->refresh();refresh_server_connection($this->server->privateKey);$this->checkConnection();- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->server->update(['private_key_id' => $oldPrivateKeyId]);@@ -46,7 +46,7 @@ class ShowPrivateKey extends Component} else {$this->emit('error', 'Old (lower than 23) or no Docker version detected. Install Docker Engine on the General tab.');}- } catch (\Exception $e) {+ } catch (\Throwable $e) {throw new \Exception($e->getMessage());}}diff --git a/app/Http/Livewire/Settings/Email.php b/app/Http/Livewire/Settings/Email.phpindex 878b1133f4..f03fccc46a 100644--- a/app/Http/Livewire/Settings/Email.php+++ b/app/Http/Livewire/Settings/Email.php@@ -50,7 +50,7 @@ class Email extends Component]);$this->settings->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -62,7 +62,7 @@ class Email extends Component]);$this->settings->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {$this->settings->resend_enabled = false;return general_error_handler($e, $this);}@@ -71,7 +71,7 @@ class Email extends Componenttry {$this->settings->smtp_enabled = false;$this->submitResend();- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -80,7 +80,7 @@ class Email extends Componenttry {$this->settings->resend_enabled = false;$this->submit();- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -99,7 +99,7 @@ class Email extends Component]);$this->settings->save();$this->emit('success', 'Settings saved successfully.');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}diff --git a/app/Http/Livewire/Source/Github/Change.php b/app/Http/Livewire/Source/Github/Change.phpindex 32f84e8edd..41ce367d95 100644--- a/app/Http/Livewire/Source/Github/Change.php+++ b/app/Http/Livewire/Source/Github/Change.php@@ -51,7 +51,7 @@ class Change extends Componenttry {$this->validate();$this->github_app->save();- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}@@ -65,7 +65,7 @@ class Change extends Componenttry {$this->github_app->delete();redirect()->route('source.all');- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Source/Github/Create.php b/app/Http/Livewire/Source/Github/Create.phpindex c607af4518..83e6e29888 100644--- a/app/Http/Livewire/Source/Github/Create.php+++ b/app/Http/Livewire/Source/Github/Create.php@@ -49,7 +49,7 @@ class Create extends Componentsession(['from' => session('from') + ['source_id' => $github_app->id]]);}redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Subscription/Actions.php b/app/Http/Livewire/Subscription/Actions.phpindex 7de0ec728a..1ed3ca378e 100644--- a/app/Http/Livewire/Subscription/Actions.php+++ b/app/Http/Livewire/Subscription/Actions.php@@ -30,7 +30,7 @@ class Actions extends Component$this->emit('success', 'Subscription cancelled successfully. Reloading in 5s.');$this->emit('reloadWindow', 5000);}- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}@@ -65,7 +65,7 @@ class Actions extends Component$this->emit('success', 'Subscription resumed successfully. Reloading in 5s.');$this->emit('reloadWindow', 5000);}- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler($e, $this);}}diff --git a/app/Http/Livewire/Team/Create.php b/app/Http/Livewire/Team/Create.phpindex 0e721814c8..d5b80e53b9 100644--- a/app/Http/Livewire/Team/Create.php+++ b/app/Http/Livewire/Team/Create.php@@ -31,8 +31,8 @@ class Create extends Componentauth()->user()->teams()->attach($team, ['role' => 'admin']);refreshSession();return redirect()->route('team.index');- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}}diff --git a/app/Http/Livewire/Team/Form.php b/app/Http/Livewire/Team/Form.phpindex 16aff27ee9..212957e448 100644--- a/app/Http/Livewire/Team/Form.php+++ b/app/Http/Livewire/Team/Form.php@@ -28,8 +28,8 @@ class Form extends Componenttry {$this->team->save();refreshSession();- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}}diff --git a/app/Http/Livewire/Team/Storage/Create.php b/app/Http/Livewire/Team/Storage/Create.phpindex e1330784ae..28e6f63c72 100644--- a/app/Http/Livewire/Team/Storage/Create.php+++ b/app/Http/Livewire/Team/Storage/Create.php@@ -67,8 +67,8 @@ class Create extends Component$this->emit('success', 'Connection is working. Tested with "ListObjectsV2" action.');$this->storage->save();return redirect()->route('team.storages.show', $this->storage->uuid);- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}@@ -77,8 +77,8 @@ class Create extends Componenttry {$this->storage->testConnection();return $this->emit('success', 'Connection is working. Tested with "ListObjectsV2" action.');- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}}diff --git a/app/Http/Livewire/Team/Storage/Form.php b/app/Http/Livewire/Team/Storage/Form.phpindex 3bdbbc508e..1572c45ac0 100644--- a/app/Http/Livewire/Team/Storage/Form.php+++ b/app/Http/Livewire/Team/Storage/Form.php@@ -32,8 +32,8 @@ class Form extends Componenttry {$this->storage->testConnection();return $this->emit('success', 'Connection is working. Tested with "ListObjectsV2" action.');- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}@@ -42,8 +42,8 @@ class Form extends Componenttry {$this->storage->delete();return redirect()->route('team.storages.all');- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}@@ -55,8 +55,8 @@ class Form extends Component$this->emit('success', 'Connection is working. Tested with "ListObjectsV2" action.');$this->storage->save();$this->emit('success', 'Storage settings saved.');- } catch (\Throwable $th) {- return general_error_handler($th, $this);+ } catch (\Throwable $e) {+ return general_error_handler($e, $this);}}}diff --git a/app/Http/Livewire/Upgrade.php b/app/Http/Livewire/Upgrade.phpindex e79c73fb7e..69300b0eb1 100644--- a/app/Http/Livewire/Upgrade.php+++ b/app/Http/Livewire/Upgrade.php@@ -37,7 +37,7 @@ class Upgrade extends Component$this->showProgress = true;resolve(UpdateCoolify::class)(true);Toaster::success("Upgrading to {$this->latestVersion} version...");- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Http/Livewire/Waitlist/Index.php b/app/Http/Livewire/Waitlist/Index.phpindex 72d16b6823..fb040c6d54 100644--- a/app/Http/Livewire/Waitlist/Index.php+++ b/app/Http/Livewire/Waitlist/Index.php@@ -52,7 +52,7 @@ class Index extends Component$this->emit('success', 'Check your email to verify your email address.');dispatch(new SendConfirmationForWaitlistJob($this->email, $waitlist->uuid));- } catch (\Exception $e) {+ } catch (\Throwable $e) {return general_error_handler(err: $e, that: $this);}}diff --git a/app/Jobs/ApplicationContainerStatusJob.php b/app/Jobs/ApplicationContainerStatusJob.phpindex f7496770de..67e6294255 100644--- a/app/Jobs/ApplicationContainerStatusJob.php+++ b/app/Jobs/ApplicationContainerStatusJob.php@@ -46,9 +46,9 @@ class ApplicationContainerStatusJob implements ShouldQueue, ShouldBeUnique$this->application->status = $status;$this->application->save();}- } catch (\Exception $th) {- ray($th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ ray($e->getMessage());+ throw $e;}}}diff --git a/app/Jobs/ApplicationPullRequestUpdateJob.php b/app/Jobs/ApplicationPullRequestUpdateJob.phpindex f540631836..19fbcd7e79 100755--- a/app/Jobs/ApplicationPullRequestUpdateJob.php+++ b/app/Jobs/ApplicationPullRequestUpdateJob.php@@ -57,7 +57,7 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue} else {$this->create_comment();}- } catch (\Exception $e) {+ } catch (\Throwable $e) {ray($e);throw $e;}diff --git a/app/Jobs/CheckResaleLicenseJob.php b/app/Jobs/CheckResaleLicenseJob.phpindex 30f9ff198f..fe4eed27f8 100644--- a/app/Jobs/CheckResaleLicenseJob.php+++ b/app/Jobs/CheckResaleLicenseJob.php@@ -21,10 +21,10 @@ class CheckResaleLicenseJob implements ShouldQueue{try {resolve(CheckResaleLicense::class)();- } catch (\Throwable $th) {- send_internal_notification('CheckResaleLicenseJob failed with: ' . $th->getMessage());- ray($th);- throw $th;+ } catch (\Throwable $e) {+ send_internal_notification('CheckResaleLicenseJob failed with: ' . $e->getMessage());+ ray($e);+ throw $e;}}}diff --git a/app/Jobs/CleanupInstanceStuffsJob.php b/app/Jobs/CleanupInstanceStuffsJob.phpindex 96fd490ba0..3d08203e38 100644--- a/app/Jobs/CleanupInstanceStuffsJob.php+++ b/app/Jobs/CleanupInstanceStuffsJob.php@@ -28,7 +28,7 @@ class CleanupInstanceStuffsJob implements ShouldQueue, ShouldBeUnique{try {// $this->cleanup_waitlist();- } catch (\Exception $e) {+ } catch (\Throwable $e) {send_internal_notification('CleanupInstanceStuffsJob failed with error: ' . $e->getMessage());ray($e->getMessage());throw $e;diff --git a/app/Jobs/DatabaseBackupJob.php b/app/Jobs/DatabaseBackupJob.phpindex d8ad4ec121..7782727058 100644--- a/app/Jobs/DatabaseBackupJob.php+++ b/app/Jobs/DatabaseBackupJob.php@@ -90,10 +90,10 @@ class DatabaseBackupJob implements ShouldQueue}$this->save_backup_logs();// TODO: Notify user- } catch (\Throwable $th) {- ray($th->getMessage());- send_internal_notification('DatabaseBackupJob failed with: ' . $th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ ray($e->getMessage());+ send_internal_notification('DatabaseBackupJob failed with: ' . $e->getMessage());+ throw $e;}}@@ -116,10 +116,10 @@ class DatabaseBackupJob implements ShouldQueue$this->backup_status = 'success';$this->team->notify(new BackupSuccess($this->backup, $this->database));- } catch (Throwable $th) {+ } catch (Throwable $e) {$this->backup_status = 'failed';- $this->add_to_backup_output($th->getMessage());- ray('Backup failed for ' . $this->container_name . ' at ' . $this->server->name . ':' . $this->backup_location . '\n\nError:' . $th->getMessage());+ $this->add_to_backup_output($e->getMessage());+ ray('Backup failed for ' . $this->container_name . ' at ' . $this->server->name . ':' . $this->backup_location . '\n\nError:' . $e->getMessage());$this->team->notify(new BackupFailed($this->backup, $this->database, $this->backup_output));} finally {$this->backup_log->update([@@ -173,9 +173,9 @@ class DatabaseBackupJob implements ShouldQueueinstant_remote_process($commands, $this->server);$this->add_to_backup_output('Uploaded to S3.');ray('Uploaded to S3. ' . $this->backup_location . ' to s3://' . $bucket . $this->backup_dir);- } catch (\Throwable $th) {- $this->add_to_backup_output($th->getMessage());- ray($th->getMessage());+ } catch (\Throwable $e) {+ $this->add_to_backup_output($e->getMessage());+ ray($e->getMessage());} finally {$command = "docker rm -f backup-of-{$this->backup->uuid}";instant_remote_process([$command], $this->server);diff --git a/app/Jobs/DatabaseContainerStatusJob.php b/app/Jobs/DatabaseContainerStatusJob.phpindex 1630545c53..d7b4d00855 100644--- a/app/Jobs/DatabaseContainerStatusJob.php+++ b/app/Jobs/DatabaseContainerStatusJob.php@@ -47,7 +47,7 @@ class DatabaseContainerStatusJob implements ShouldQueue, ShouldBeUnique$this->database->status = $status;$this->database->save();}- } catch (\Exception $e) {+ } catch (\Throwable $e) {send_internal_notification('DatabaseContainerStatusJob failed with: ' . $e->getMessage());ray($e->getMessage());throw $e;diff --git a/app/Jobs/DockerCleanupJob.php b/app/Jobs/DockerCleanupJob.phpindex ecdf6dbcb0..fbb9ac2c7c 100644--- a/app/Jobs/DockerCleanupJob.php+++ b/app/Jobs/DockerCleanupJob.php@@ -75,7 +75,7 @@ class DockerCleanupJob implements ShouldQueueray('No need to clean up ' . $server->name)->color('orange');}}- } catch (\Exception $e) {+ } catch (\Throwable $e) {send_internal_notification('DockerCleanupJob failed with: ' . $e->getMessage());ray($e->getMessage())->color('orange');throw $e;diff --git a/app/Jobs/ProxyCheckJob.php b/app/Jobs/ProxyCheckJob.phpindex 720dd2ea1a..65d04bf058 100755--- a/app/Jobs/ProxyCheckJob.php+++ b/app/Jobs/ProxyCheckJob.php@@ -37,10 +37,10 @@ class ProxyCheckJob implements ShouldQueueresolve(StartProxy::class)($server);}}- } catch (\Throwable $th) {- ray($th->getMessage());- send_internal_notification('ProxyCheckJob failed with: ' . $th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ ray($e->getMessage());+ send_internal_notification('ProxyCheckJob failed with: ' . $e->getMessage());+ throw $e;}}}diff --git a/app/Jobs/ProxyContainerStatusJob.php b/app/Jobs/ProxyContainerStatusJob.phpindex 24ad24be02..a69c96ef30 100644--- a/app/Jobs/ProxyContainerStatusJob.php+++ b/app/Jobs/ProxyContainerStatusJob.php@@ -52,7 +52,7 @@ class ProxyContainerStatusJob implements ShouldQueue, ShouldBeUnique}$this->server->save();}- } catch (\Exception $e) {+ } catch (\Throwable $e) {if ($e->getCode() === 1) {$this->server->proxy->status = 'exited';$this->server->save();diff --git a/app/Jobs/ProxyStartJob.php b/app/Jobs/ProxyStartJob.phpindex 91932a48c2..90230ccbf1 100755--- a/app/Jobs/ProxyStartJob.php+++ b/app/Jobs/ProxyStartJob.php@@ -35,10 +35,10 @@ class ProxyStartJob implements ShouldQueue$this->server->save();}resolve(StartProxy::class)($this->server);- } catch (\Throwable $th) {- send_internal_notification('ProxyStartJob failed with: ' . $th->getMessage());- ray($th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ send_internal_notification('ProxyStartJob failed with: ' . $e->getMessage());+ ray($e->getMessage());+ throw $e;}}}diff --git a/app/Jobs/ResourceStatusJob.php b/app/Jobs/ResourceStatusJob.phpindex efd6d14456..3e5f5a4559 100644--- a/app/Jobs/ResourceStatusJob.php+++ b/app/Jobs/ResourceStatusJob.php@@ -37,10 +37,10 @@ class ResourceStatusJob implements ShouldQueue, ShouldBeUniquedatabase: $postgresql,));}- } catch (\Exception $th) {- send_internal_notification('ResourceStatusJob failed with: ' . $th->getMessage());- ray($th);- throw $th;+ } catch (\Throwable $e) {+ send_internal_notification('ResourceStatusJob failed with: ' . $e->getMessage());+ ray($e);+ throw $e;}}}diff --git a/app/Jobs/SendConfirmationForWaitlistJob.php b/app/Jobs/SendConfirmationForWaitlistJob.phpindex a8790f27f5..470b1bafe0 100755--- a/app/Jobs/SendConfirmationForWaitlistJob.php+++ b/app/Jobs/SendConfirmationForWaitlistJob.php@@ -34,10 +34,10 @@ class SendConfirmationForWaitlistJob implements ShouldQueue]);$mail->subject('You are on the waitlist!');send_user_an_email($mail, $this->email);- } catch (\Throwable $th) {- send_internal_notification("SendConfirmationForWaitlistJob failed for {$this->email} with error: " . $th->getMessage());- ray($th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ send_internal_notification("SendConfirmationForWaitlistJob failed for {$this->email} with error: " . $e->getMessage());+ ray($e->getMessage());+ throw $e;}}}diff --git a/app/Jobs/SubscriptionInvoiceFailedJob.php b/app/Jobs/SubscriptionInvoiceFailedJob.phpindex 48e9fea645..5e86546734 100755--- a/app/Jobs/SubscriptionInvoiceFailedJob.php+++ b/app/Jobs/SubscriptionInvoiceFailedJob.php@@ -33,10 +33,10 @@ class SubscriptionInvoiceFailedJob implements ShouldQueuesend_user_an_email($mail, $member->email);}});- } catch (\Throwable $th) {- send_internal_notification('SubscriptionInvoiceFailedJob failed with: ' . $th->getMessage());- ray($th->getMessage());- throw $th;+ } catch (\Throwable $e) {+ send_internal_notification('SubscriptionInvoiceFailedJob failed with: ' . $e->getMessage());+ ray($e->getMessage());+ throw $e;}}}diff --git a/app/Models/PrivateKey.php b/app/Models/PrivateKey.phpindex d96aecd4ee..797c2efbbd 100644--- a/app/Models/PrivateKey.php+++ b/app/Models/PrivateKey.php@@ -24,7 +24,7 @@ class PrivateKey extends BaseModel{try {return PublicKeyLoader::load($this->private_key)->getPublicKey()->toString('OpenSSH',['comment' => '']);- } catch (\Exception $e) {+ } catch (\Throwable $e) {return 'Error loading private key';}}diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.phpindex b90f5ebd50..080448f712 100644--- a/bootstrap/helpers/docker.php+++ b/bootstrap/helpers/docker.php@@ -52,7 +52,7 @@ function format_docker_envs_to_json($rawOutput)$env = explode('=', $env);return [$env[0] => $env[1]];});- } catch (\Throwable $th) {+ } catch (\Throwable $e) {return collect([]);}}diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.phpindex 673c9801fd..40ff2f9581 100644--- a/bootstrap/helpers/remoteProcess.php+++ b/bootstrap/helpers/remoteProcess.php@@ -203,7 +203,7 @@ function validateServer(Server $server)"uptime" => $uptime,"dockerVersion" => $dockerVersion,];- } catch (\Exception $e) {+ } catch (\Throwable $e) {$server->settings->is_reachable = false;$server->settings->is_usable = false;throw $e;@@ -219,7 +219,7 @@ function check_server_connection(Server $server)instant_remote_process(['uptime'], $server);$server->unreachable_count = 0;$server->settings->is_reachable = true;- } catch (\Exception $e) {+ } catch (\Throwable $e) {if ($server->unreachable_count == 2) {$server->team->notify(new NotReachable($server));$server->settings->is_reachable = false;@@ -246,7 +246,7 @@ function checkRequiredCommands(Server $server)}try {instant_remote_process(["docker run --rm --privileged --net=host --pid=host --ipc=host --volume /:/host busybox chroot /host bash -c 'apt update && apt install -y {$command}'"], $server);- } catch (\Exception $e) {+ } catch (\Throwable $e) {ray('could not install ' . $command);ray($e);break;diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.phpindex 7a8c5429bc..edb54ab64d 100644--- a/bootstrap/helpers/shared.php+++ b/bootstrap/helpers/shared.php@@ -89,18 +89,18 @@ function general_error_handler(Throwable | null $err = null, $that = null, $isJs}throw new Exception($customErrorMessage ?? $err->getMessage());}- } catch (Throwable $error) {+ } catch (Throwable $e) {if ($that) {- return $that->emit('error', $customErrorMessage ?? $error->getMessage());+ return $that->emit('error', $customErrorMessage ?? $e->getMessage());} elseif ($isJson) {return response()->json([- 'code' => $error->getCode(),- 'error' => $error->getMessage(),+ 'code' => $e->getCode(),+ 'error' => $e->getMessage(),]);} else {ray($customErrorMessage);- ray($error);- return $customErrorMessage ?? $error->getMessage();+ ray($e);+ return $customErrorMessage ?? $e->getMessage();}}}@@ -116,9 +116,9 @@ function get_latest_version_of_coolify(): string$response = Http::get('https://cdn.coollabs.io/coolify/versions.json');$versions = $response->json();return data_get($versions, 'coolify.v4.version');- } catch (Throwable $th) {- //throw $th;- ray($th->getMessage());+ } catch (Throwable $e) {+ //throw $e;+ ray($e->getMessage());return '0.0.0';}}@@ -258,8 +258,8 @@ function send_internal_notification(string $message): void$baseUrl = config('app.name');$team = Team::find(0);$team->notify(new GeneralNotification("👀 {$baseUrl}: " . $message));- } catch (\Throwable $th) {- ray($th->getMessage());+ } catch (\Throwable $e) {+ ray($e->getMessage());}}function send_user_an_email(MailMessage $mail, string $email): voiddiff --git a/database/seeders/InstanceSettingsSeeder.php b/database/seeders/InstanceSettingsSeeder.phpindex 1be6462c9c..31c8cfb5f1 100644--- a/database/seeders/InstanceSettingsSeeder.php+++ b/database/seeders/InstanceSettingsSeeder.php@@ -38,7 +38,7 @@ class InstanceSettingsSeeder extends Seederif (is_null($settings->public_ipv6) && $ipv6) {$settings->update(['public_ipv6' => $ipv6]);}- } catch (\Exception $e) {+ } catch (\Throwable $e) {echo "Error: {$e->getMessage()}\n";}}diff --git a/database/seeders/ProductionSeeder.php b/database/seeders/ProductionSeeder.phpindex 9a307c7ebf..719c06df3c 100644--- a/database/seeders/ProductionSeeder.php+++ b/database/seeders/ProductionSeeder.php@@ -119,7 +119,7 @@ class ProductionSeeder extends Seeder$settings->update(['public_ipv6' => $ipv6]);}}- } catch (\Exception $e) {+ } catch (\Throwable $e) {echo "Error: {$e->getMessage()}\n";}}