Skip to content

Commit 98f9d9b

Browse files
committed
fix method name
1 parent 7e49b64 commit 98f9d9b

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)