Remove all useless catch block useless variables.

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

No files matched your search

@@ -36,7 +36,7 @@ class Form extends Component
$url = Url::fromString($firstFqdn);
$host = $url->getHost();
$this->preview_url_template = str($this->application->preview_url_template)->replace('{{domain}}', $host);
} catch (\Exception $e) {
} catch (\Exception) {
$this->dispatch('error', 'Invalid FQDN.');
}
}