diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-19 07:56:41 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-04-19 07:56:41 -0700 |
commit | 0701d0019b14fa19fe930eb42e8e23a63cd498d9 (patch) | |
tree | ae735f621e06de3cdeff81f5d459f6d0d04e4dd2 /lib | |
parent | 25e7dc1ec5541b0bec8faa667088e08c25b40046 (diff) | |
parent | 7ac49dd52a238eb721d5d750e79a0db56599b212 (diff) | |
download | nextcloud-server-0701d0019b14fa19fe930eb42e8e23a63cd498d9.tar.gz nextcloud-server-0701d0019b14fa19fe930eb42e8e23a63cd498d9.zip |
Merge pull request #3020 from owncloud/cleaner-webdav-reason
Cleaner isWebDAVWorking reason, otherwise people overlook the reason
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 2 |
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; } |