Fix undefined variable - found by phan
Added in https://github.com/nextcloud/server/pull/8314/files#diff-a55c10804586cd797b7f3f16556c1457R157 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
67dcff7a1f
commit
431ccb6386
|
@ -199,7 +199,7 @@ class SwiftFactory {
|
||||||
'name' => $this->params['container']
|
'name' => $this->params['container']
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
throw new StorageNotAvailableException('Invalid response while trying to get container info', StorageNotAvailableException::STATUS_ERROR, $e);
|
throw new StorageNotAvailableException('Invalid response while trying to get container info', StorageNotAvailableException::STATUS_ERROR, $ex);
|
||||||
}
|
}
|
||||||
} catch (ConnectException $e) {
|
} catch (ConnectException $e) {
|
||||||
/** @var RequestInterface $request */
|
/** @var RequestInterface $request */
|
||||||
|
|
Loading…
Reference in New Issue