diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-17 16:51:40 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-17 16:51:40 +0100 |
commit | 65a283f9677a9bb394c23ab6460b1a6aad76cacf (patch) | |
tree | ca93234b53d2ca3f325a24e585dc5c9f04906934 /apps/files_external | |
parent | 4422f9c9ef755ef44385a2ed9e0c42f7d1c459d5 (diff) | |
download | nextcloud-server-65a283f9677a9bb394c23ab6460b1a6aad76cacf.tar.gz nextcloud-server-65a283f9677a9bb394c23ab6460b1a6aad76cacf.zip |
dont die when missing an auth backend
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/service/storagesservice.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_external/service/storagesservice.php b/apps/files_external/service/storagesservice.php index 678b91c0109..0a4c00c66ad 100644 --- a/apps/files_external/service/storagesservice.php +++ b/apps/files_external/service/storagesservice.php @@ -104,6 +104,13 @@ abstract class StoragesService { \OCP\Util::ERROR ); return null; + } catch (\InvalidArgumentException $e) { + \OCP\Util::writeLog( + 'files_external', + 'Could not load storage: "' . $e->getMessage() . '"', + \OCP\Util::ERROR + ); + return null; } } |