better error reporting for webdav