pierresouchay / consul-rust

Rust client libray for Consul HTTP API
Apache License 2.0
92 stars 48 forks source link

Provide more detailed errors #12

Open SkeLLLa opened 7 years ago

SkeLLLa commented 7 years ago

Hello. I've noticed is something bad is happend with consul response (e.g. some error code, malformed JSON, etc.) It returns something like "JSON error", without any additional info that could help to determine where the error is.

stusmall commented 7 years ago

I'd mentioned in the other bug. Master of the project is in poor shape. I'm actively rewriting the entire project. This has been addressed in the refactor but hasn't been merged into master yet.