Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give Error messages not just error codes #83

Open
oxinabox opened this issue Jun 9, 2020 · 1 comment
Open

Give Error messages not just error codes #83

oxinabox opened this issue Jun 9, 2020 · 1 comment

Comments

@oxinabox
Copy link
Member

oxinabox commented Jun 9, 2020

LibPQ.jl does this really well

Here is the docs with all the codes, but there might be another list of coddes somewhere that is easier to regex into julia code

Right now we get things passed on to FTPClient.jl which result in unuseful messages like:

FTPClientError("Failed to upload /foo.bar", 0x0000003c).

But it could have been:

CURLE_PEER_FAILED_VERIFICATION (60)
The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
@bluesmoon
Copy link

You can call curl_easy_strerror to get the error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants