don't die with invalid cache DSN

This commit is contained in:
Shish 2023-06-27 15:31:59 +01:00
parent 55a2d5ebf3
commit e8aadf8d23

View file

@ -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;