Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

chore(requests): more error info for SendRequest #112

Closed
wants to merge 1 commit into from

Conversation

yichengq
Copy link
Contributor

@yichengq yichengq commented Mar 5, 2014

No description provided.

@yichengq
Copy link
Contributor Author

yichengq commented Mar 5, 2014

etcd-io/etcd#576
@xiangli-cmu

@yichengq
Copy link
Contributor Author

yichengq commented Mar 5, 2014

It should print out error in connection. Or we just know that it tries many times and fails at last.

@xiang90
Copy link
Contributor

xiang90 commented Mar 6, 2014

@unihorn The error message will not be consumed by a program anyway. I think we might just add log warn to log the actual error?

@yichengq
Copy link
Contributor Author

yichengq commented Mar 6, 2014

@xiangli-cmu It could be returned back, and I read it under the etcd -vv mode.

@xiang90
Copy link
Contributor

xiang90 commented Mar 6, 2014

@unihorn I mean you can not consume it programmatically. If we want to print it out, why not all the errors but only the last one?

@yichengq
Copy link
Contributor Author

yichengq commented Mar 6, 2014

@xiangli-cmu Yes. It could be kind of weird. Maybe I should make go-etcd all debug infomation print out instead.

@yichengq yichengq closed this Mar 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants