8000 SecurityBundle: catch Throwable · symfony/symfony@3b6b9aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b6b9aa

Browse files
committed
SecurityBundle: catch Throwable
1 parent 9df8d50 commit 3b6b9aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public function collect(Request $request, Response $response, \Exception $except
9191
}
9292
} catch (\Exception $e) {
9393
// fail silently when the logout URL cannot be generated
94+
} catch (\Throwable $e) {
95+
// fail silently when the logout URL cannot be generated
9496
}
9597

9698
$this->data = array(

0 commit comments

Comments
 (0)
0