]> source.dussan.org Git - nextcloud-server.git/commit
Catch more exceptions when connecting to remote DAV server
authorVincent Petry <pvince81@owncloud.com>
Fri, 10 Apr 2015 09:55:58 +0000 (11:55 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 10 Apr 2015 10:02:06 +0000 (12:02 +0200)
commit73afca6207f2153e8e16de6f21a314e12b324776
tree3dba4709d7f6bee568447d078aa2b27868266a71
parent43b503641c9f3cc705f4a5c318c4122d00f8940a
Catch more exceptions when connecting to remote DAV server

Added InvalidArgumentException to catch HTML parsing errors when XML was
expected.
Made convertSabreException more generic to be able to handle more
exception cases.
apps/files_sharing/lib/external/storage.php
lib/private/files/storage/dav.php