Skip to content

Commit

Permalink
Merge pull request #3020 from owncloud/cleaner-webdav-reason
Browse files Browse the repository at this point in the history
Cleaner isWebDAVWorking reason, otherwise people overlook the reason
  • Loading branch information
bartv2 committed Apr 19, 2013
2 parents 25e7dc1 + 7ac49dd commit 0701d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ public static function isWebDAVWorking() {
} 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;
}

Expand Down

0 comments on commit 0701d00

Please sign in to comment.