dont die when missing an auth backend

This commit is contained in:
Robin Appelman 2016-02-17 16:51:40 +01:00
parent 4422f9c9ef
commit 65a283f967
1 changed files with 7 additions and 0 deletions

View File

@ -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;
}
}