Convert StorageNotAvailableException to SabreDAV exception
Convert \OCP\Files\StorageNotAvailableException to \Sabre\DAV\Exception\ServiceUnavailable for every file/directory operation happening inside of SabreDAV. This is necessary to avoid having the exception bubble up to remote.php which would return an exception page instead of an appropriate response.
Showing
- lib/private/connector/sabre/directory.php 39 additions, 29 deletionslib/private/connector/sabre/directory.php
- lib/private/connector/sabre/file.php 78 additions, 58 deletionslib/private/connector/sabre/file.php
- lib/private/connector/sabre/objecttree.php 33 additions, 25 deletionslib/private/connector/sabre/objecttree.php
- lib/private/connector/sabre/quotaplugin.php 6 additions, 2 deletionslib/private/connector/sabre/quotaplugin.php
Please register or sign in to comment