From: Bart Visscher Date: Fri, 19 Apr 2013 10:44:54 +0000 (+0200) Subject: Cleaner isWebDAVWorking reason, otherwise people overlook the reason X-Git-Tag: v6.0.0alpha2~883^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ac49dd52a238eb721d5d750e79a0db56599b212;p=nextcloud-server.git Cleaner isWebDAVWorking reason, otherwise people overlook the reason --- 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; }