Merge pull request #300 from chrometoasters/pulls/webdav-error-message

ENH Show error message instead of error code on WebDAV check
This commit is contained in:
Steve Boyd 2021-12-15 14:36:09 +13:00 committed by GitHub
commit 94bb78fc7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)