Remove all useless catch block useless variables.

This commit is contained in:
Lucas Michot
2024-10-31 15:19:37 +01:00
parent 79d5434da2
commit b1d04912a0
13 changed files with 22 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ class Discord extends Component
{
try {
$this->submit();
} catch (\Throwable $e) {
} catch (\Throwable) {
$this->team->discord_enabled = false;
$this->validate();
}

View File

@@ -41,7 +41,7 @@ class Telegram extends Component
{
try {
$this->submit();
} catch (\Throwable $e) {
} catch (\Throwable) {
$this->team->telegram_enabled = false;
$this->validate();
}