summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-23 11:34:37 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-23 11:34:41 +0200
commit431ccb638673b35474a818b7de5156e3832e3343 (patch)
treeff7e47338cb61a9803babece0047f5517a48f9ca /lib/private/Files
parent67dcff7a1f04a6118adb377ead6bff3dbcfa9fa0 (diff)
downloadnextcloud-server-431ccb638673b35474a818b7de5156e3832e3343.tar.gz
nextcloud-server-431ccb638673b35474a818b7de5156e3832e3343.zip
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>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/ObjectStore/SwiftFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php
index 85bba573001..d10aaf467ae 100644
--- a/lib/private/Files/ObjectStore/SwiftFactory.php
+++ b/lib/private/Files/ObjectStore/SwiftFactory.php
@@ -199,7 +199,7 @@ class SwiftFactory {
'name' => $this->params['container']
]);
} 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) {
/** @var RequestInterface $request */