diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 11:17:19 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 11:17:19 +0100 |
commit | 9d24de0ceb889c08ccd206437fa4718ae9f5d804 (patch) | |
tree | 932f7d86ace93eaa84246dcf61dabb61c0be27f6 /apps/files_external | |
parent | 3a97a0ad7fa14b803c2ecb55faf24607011eae6e (diff) | |
parent | 65a283f9677a9bb394c23ab6460b1a6aad76cacf (diff) | |
download | nextcloud-server-9d24de0ceb889c08ccd206437fa4718ae9f5d804.tar.gz nextcloud-server-9d24de0ceb889c08ccd206437fa4718ae9f5d804.zip |
Merge pull request #22478 from owncloud/external-missing-auth
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; } } |