Merge pull request #22478 from owncloud/external-missing-auth

dont die when missing an auth backend
This commit is contained in:
Thomas Müller 2016-02-18 11:17:19 +01:00
commit 9d24de0ceb
1 changed files with 7 additions and 0 deletions

View File

@ -104,6 +104,13 @@ abstract class StoragesService {
\OCP\Util::ERROR \OCP\Util::ERROR
); );
return null; return null;
} catch (\InvalidArgumentException $e) {
\OCP\Util::writeLog(
'files_external',
'Could not load storage: "' . $e->getMessage() . '"',
\OCP\Util::ERROR
);
return null;
} }
} }