]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cleaner isWebDAVWorking reason, otherwise people overlook the reason
authorBart Visscher <bartv@thisnet.nl>
Fri, 19 Apr 2013 10:44:54 +0000 (12:44 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 19 Apr 2013 10:44:54 +0000 (12:44 +0200)
lib/util.php

index 34ed4a2a96ac1ef9c5caa31435ed03ba07bb5c10..38453c1ce9242ddb34b5b369ae5e0ecf44f5294a 100755 (executable)
@@ -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;
                }