|
|
|
|
@ -130,9 +130,14 @@ class ConfigAdapter implements IMountProvider { |
|
|
|
|
$impl = new FailedStorage(['exception' => $e]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$availability = $impl->getAvailability(); |
|
|
|
|
if (!$availability['available']) { |
|
|
|
|
$impl = new FailedStorage(['exception' => null]); |
|
|
|
|
try { |
|
|
|
|
$availability = $impl->getAvailability(); |
|
|
|
|
if (!$availability['available']) { |
|
|
|
|
$impl = new FailedStorage(['exception' => null]); |
|
|
|
|
} |
|
|
|
|
} catch (\Exception $e) { |
|
|
|
|
// propagate exception into filesystem |
|
|
|
|
$impl = new FailedStorage(['exception' => $e]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$mount = new MountPoint( |
|
|
|
|
|