diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-04-23 11:34:37 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-04-23 11:34:41 +0200 |
commit | 431ccb638673b35474a818b7de5156e3832e3343 (patch) | |
tree | ff7e47338cb61a9803babece0047f5517a48f9ca /lib/private/Files | |
parent | 67dcff7a1f04a6118adb377ead6bff3dbcfa9fa0 (diff) | |
download | nextcloud-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.php | 2 |
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 */ |