ENH Show error message instead of error code on WebDAV check

This commit is contained in:
Michal Kleiner 2021-11-21 16:09:22 +13:00
parent a6153cecc8
commit 9dfcbf9c90
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ class WebDAV
return true;
}
user_error("Got error from webdav server - " . $code, E_USER_ERROR);
$err = curl_error($ch);
user_error("Got error from webdav server - " . $err, E_USER_ERROR);
}
public static function mkdir($url)