summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-11-06 12:29:24 +0100
committerVincent Petry <pvince81@owncloud.com>2015-11-06 12:29:24 +0100
commit51d75275957f0341b3d1ee63b6aa4c46c15e7962 (patch)
treea0aa0fa7c06aee870f53b82f9cb2f6ef4186df40 /apps
parentbf941032a39047cc948af5887e43f664d05e1e40 (diff)
downloadnextcloud-server-51d75275957f0341b3d1ee63b6aa4c46c15e7962.tar.gz
nextcloud-server-51d75275957f0341b3d1ee63b6aa4c46c15e7962.zip
Properly throw exception in OC_Mount_Config::getBackendStatus
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 56a7e547ec6..6c900f0f224 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;