Skip to content

Commit 951c8b3

Browse files
committed
bug #1116 fix method name (xabbuh)
This PR was merged into the master branch. Discussion ---------- fix method name fixes #1115 Commits ------- 98f9d9b fix method name
2 parents 7d625c2 + 98f9d9b commit 951c8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventSubscriber/CheckRequirementsSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function handleKernelException(ExceptionEvent $event): void
8585

8686
// Check if SQLite is enabled
8787
if ($isDriverException && $this->isSQLitePlatform() && !\extension_loaded('sqlite3')) {
88-
$event->setException(new \Exception('PHP extension "sqlite3" must be enabled because, by default, the Symfony Demo application uses SQLite to store its information.'));
88+
$event->setThrowable(new \Exception('PHP extension "sqlite3" must be enabled because, by default, the Symfony Demo application uses SQLite to store its information.'));
8989
}
9090
}
9191

0 commit comments

Comments
 (0)