diff --git a/src/SentryServiceProvider.php b/src/SentryServiceProvider.php index b93c0cf..6d1cfc2 100644 --- a/src/SentryServiceProvider.php +++ b/src/SentryServiceProvider.php @@ -150,7 +150,7 @@ public function boot(SettingsRepositoryInterface $settings) } } - protected function handleError($level, $message, $file = '', $line = 0) + public function handleError($level, $message, $file = '', $line = 0) { // ignore STMT_PREPARE errors because Eloquent automatically tries reconnecting if (strpos($message, 'STMT_PREPARE packet') !== false) {