diff --git a/apps/files_external/lib/MountConfig.php b/apps/files_external/lib/MountConfig.php
index 30b45ccf0ccfc5c4d285db6b7ecdf1969e0d782f..8b63f1b1f4bcbbb646975a994c2c653dbb1507b0 100644
--- a/apps/files_external/lib/MountConfig.php
+++ b/apps/files_external/lib/MountConfig.php
@@ -193,7 +193,7 @@ class MountConfig {
 	 * @param array $options backend configuration options
 	 * @param boolean $isPersonal
 	 * @return int see self::STATUS_*
-	 * @throws Exception
+	 * @throws \Exception
 	 */
 	public static function getBackendStatus($class, $options, $isPersonal, $testOnly = true) {
 		if (self::$skipTest) {
@@ -221,7 +221,7 @@ class MountConfig {
 					$storage->setAvailability(false);
 					throw $e;
 				}
-			} catch (Exception $exception) {
+			} catch (\Exception $exception) {
 				\OC::$server->getLogger()->logException($exception, ['app' => 'files_external']);
 				throw $exception;
 			}