-
Notifications
You must be signed in to change notification settings - Fork 515
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
Better HTTP error messages #133
Conversation
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Codecov Report
@@ Coverage Diff @@
## master #133 +/- ##
==========================================
+ Coverage 92.16% 92.35% +0.19%
==========================================
Files 81 82 +1
Lines 1799 1832 +33
Branches 348 356 +8
==========================================
+ Hits 1658 1692 +34
+ Misses 129 128 -1
Partials 12 12
Continue to review full report at Codecov.
|
Looks like there are some changes that leaked into here that are just prettier formatted changes. I think its better to have this come in a new diff so the changes are only related to the Error formatting components |
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
… issue-127-fix-http-error-messages-simple
@saminzadeh Done. I reverted and then isolated the changes. |
* Better error messages on failed HTTP requests Signed-off-by: Joe Farro <joef@uber.com> * Prettier reformatting Signed-off-by: Joe Farro <joef@uber.com> * Better error formatting Signed-off-by: Joe Farro <joef@uber.com> * Update README to refer to codecov.io Signed-off-by: Joe Farro <joef@uber.com> * Unit tests for better HTTP error messages Signed-off-by: Joe Farro <joef@uber.com> * Better error messages on failed HTTP requests Signed-off-by: Joe Farro <joef@uber.com> * Better error formatting Signed-off-by: Joe Farro <joef@uber.com> * Update README to refer to codecov.io Signed-off-by: Joe Farro <joef@uber.com> * Unit tests for better HTTP error messages Signed-off-by: Joe Farro <joef@uber.com> * Revert to master Signed-off-by: Joe Farro <joef@uber.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Fixes #127.
Fixes jaegertracing/jaeger#418.
Partially addresses jaegertracing/jaeger#401.
Improved HTTP error messages. No longer always showing the same often incorrect error message.
"Response body" is the first 1021 characters (with "..." appended when truncated).