Merge pull request #22478 from owncloud/external-missing-auth
dont die when missing an auth backend
This commit is contained in:
commit
9d24de0ceb
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue