Merge pull request #4086 from lucasmichot/feat/useless-catch-variable

Remove all useless catch block useless variables.
This commit is contained in:
🏔️ Peak
2024-10-31 16:26:31 +01:00
committed by GitHub
13 changed files with 22 additions and 22 deletions

View File

@@ -65,7 +65,7 @@ class Executions extends Component
$dateObj = new \DateTime($date);
try {
$dateObj->setTimezone(new \DateTimeZone($serverTimezone));
} catch (\Exception $e) {
} catch (\Exception) {
$dateObj->setTimezone(new \DateTimeZone('UTC'));
}