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:
parent
d2171b5dc5
commit
6585ecd962
2 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue