summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-19 12:44:54 +0200
committerBart Visscher <bartv@thisnet.nl>2013-04-19 12:44:54 +0200
commit7ac49dd52a238eb721d5d750e79a0db56599b212 (patch)
tree9880b9ac74d3b48899d3d210c39f8f2c5cf7f8fb
parent3b2a0523f8544601a330bffecc1f04645d92dfc4 (diff)
downloadnextcloud-server-7ac49dd52a238eb721d5d750e79a0db56599b212.tar.gz
nextcloud-server-7ac49dd52a238eb721d5d750e79a0db56599b212.zip
Cleaner isWebDAVWorking reason, otherwise people overlook the reason
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 34ed4a2a96a..38453c1ce92 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -595,7 +595,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);
+ OC_Log::write('core', 'isWebDAVWorking: NO - Reason: '.$e->getMessage(). ' ('.get_class($e).')', OC_Log::WARN);
$return = false;
}