1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 03:14:04 +00:00

Add Predis support

This commit is contained in:
Samuel Štancl 2019-07-03 12:21:17 +02:00
parent d2171b5dc5
commit 6585ecd962
2 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@ trait BootstrapsTenancy
$client = Redis::connection($connection)->client();
try {
$client->setOption($client::OPT_PREFIX, $prefix);
} catch (\Exception $e) {
} catch (\Throwable $t) {
throw new PhpRedisNotInstalledException();
}
}