We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf3e4a commit f807d02Copy full SHA for f807d02
src/Redis/Initializer.php
@@ -142,7 +142,7 @@ public static function getRediSearchVersion(Client $client): ?string
142
try {
143
$modules = $client->executeRaw('module', 'list') ?? [];
144
} catch (\Throwable $exception) {
145
- if (strpos($exception->getMessage(), 'unknown command') !== false) {
+ if (strpos($exception->getMessage(), 'unknown command') === false) {
146
throw $exception;
147
}
148
$modules = [];
0 commit comments