Skip to content
Snippets Groups Projects
Commit 0a6e9933 authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #1812 from owncloud/add-logging-to-webdav-test-master

Enhancment to the WebDAV-Testing ...
parents c8c0e72e 7b7994b5
No related branches found
No related tags found
No related merge requests found
......@@ -562,7 +562,7 @@ class OC_Util {
*/
public static function isWebDAVWorking() {
if (!function_exists('curl_init')) {
return;
return true;
}
$settings = array(
......@@ -578,6 +578,7 @@ class OC_Util {
} catch(\Sabre_DAV_Exception_NotAuthenticated $e) {
$return = true;
} catch(\Exception $e) {
OC_Log::write('core', 'isWebDAVWorking: NO - Reason: '.$e, OC_Log::WARN);
$return = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment