From: Robin Appelman Date: Wed, 17 Feb 2016 15:51:40 +0000 (+0100) Subject: dont die when missing an auth backend X-Git-Tag: v9.0.0beta2~12^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=65a283f9677a9bb394c23ab6460b1a6aad76cacf;p=nextcloud-server.git dont die when missing an auth backend --- 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; } }