onur / acme-client

Yet another Let's Encrypt client and library written in Rust.
MIT License
225 stars 33 forks source link

descriptive error output using display #23

Closed benaryorg closed 6 years ago

benaryorg commented 6 years ago

The display version of the error prints information about the error while the description does not. If you receive an error on the command line you usually want to know why it errors.

I also put another commit there that makes use of the eprintln! macro as opposed to using writeln! on stderr. It's your choice whether you want the latter one, but pretty please do use the first commit. I'm currently having trouble finding out why exactly I'm getting an "Acme server error" ^^

onur commented 6 years ago

Thanks!