[BUGFIX] SabreDAV exceptions are not caught 71/15071/5
authorNicole Cordes <n.cordes@biz-design.biz>
Tue, 25 Sep 2012 21:24:04 +0000 (23:24 +0200)
committerAndreas Wolf <andreas.wolf@typo3.org>
Thu, 21 Mar 2013 21:36:18 +0000 (22:36 +0100)
commit3a06536a8ec512aa42dc37039f75ace0edcd6171
treed7cdca81ca581e633c670753c8a0b38f0ddff084
parent8d1b317a8ddde0cccfb7bc0ddfc8bcef7bcc7a9d
[BUGFIX] SabreDAV exceptions are not caught

SabreDAV throws exceptions when errors occur (e.g. when a server does
not respond). These exceptions bubble up to the UI currently, leaving
the user with a broken backend and probably without any clue what to do.

This patch introduces exception handling in the WebDAV driver, though
currently a rather ugly one that just suppresses the exceptions and logs
a message.
Ideally, the exceptions would be transformed into more user-friendly
messages by the driver and then handed up to the UI to be displayed.

Change-Id: I951773f8a909b4ad620a3d5343293ec1a680a28d
Fixes: #41373
Classes/Driver/WebDavDriver.php