From 431ccb638673b35474a818b7de5156e3832e3343 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 23 Apr 2018 11:34:37 +0200 Subject: [PATCH] Fix undefined variable - found by phan Added in https://github.com/nextcloud/server/pull/8314/files#diff-a55c10804586cd797b7f3f16556c1457R157 Signed-off-by: Morris Jobke --- lib/private/Files/ObjectStore/SwiftFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php index 85bba57300..d10aaf467a 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 */