don't die with invalid cache DSN
This commit is contained in:
parent
55a2d5ebf3
commit
e8aadf8d23
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ function loadCache(?string $dsn): CacheInterface
|
|||
], ['prefix' => 'shm:']);
|
||||
$c = new \Naroga\RedisCache\Redis($redis);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if(is_null($c)) {
|
||||
$c = new \Sabre\Cache\Memory();
|
||||
}
|
||||
global $_tracer;
|
||||
|
|
Reference in a new issue