From 51d75275957f0341b3d1ee63b6aa4c46c15e7962 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Fri, 6 Nov 2015 12:29:24 +0100
Subject: [PATCH] Properly throw exception in OC_Mount_Config::getBackendStatus

---
 apps/files_external/lib/config.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 56a7e547ec..6c900f0f22 100644
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -269,7 +269,7 @@ class OC_Mount_Config {
 				}
 			} catch (Exception $exception) {
 				\OCP\Util::logException('files_external', $exception);
-				throw $e;
+				throw $exception;
 			}
 		}
 		return self::STATUS_ERROR;
-- 
GitLab