Cleaner isWebDAVWorking reason, otherwise people overlook the reason

This commit is contained in:
Bart Visscher 2013-04-19 12:44:54 +02:00
parent 3b2a0523f8
commit 7ac49dd52a

View file

@ -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;
}