Skip to content

Commit 8aeccb1

Browse files
authored
QueryCollector: Exception -> Throwable (#1366)
1 parent c9fb100 commit 8aeccb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataCollector/QueryCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function addQuery($query, $bindings, $time, $connection)
134134
$pdo = null;
135135
try {
136136
$pdo = $connection->getPdo();
137-
} catch (\Exception $e) {
137+
} catch (\Throwable $e) {
138138
// ignore error for non-pdo laravel drivers
139139
}
140140
$bindings = $connection->prepareBindings($bindings);

0 commit comments

Comments
 (0)