Skip to content

Commit c99ce30

Browse files
committed
fix: handle all throwable exceptions
1 parent fd12b17 commit c99ce30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kv-store/src/Redis/RedisInsightsProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getInsights(): array
3333
},
3434
'Version' => $version ?: new Insight('Unknown', Insight::WARNING),
3535
];
36-
} catch (Predis\Connection\ConnectionException) {
36+
} catch (\Throwable) {
3737
return [
3838
'Engine' => new Insight('Disconnected', Insight::ERROR),
3939
];

0 commit comments

Comments
 (0)