-
Notifications
You must be signed in to change notification settings - Fork 35
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
chore: use response body message as error message when possible #297
Conversation
Codecov Report
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
+ Coverage 89.7% 89.85% +0.14%
==========================================
Files 6 6
Lines 408 414 +6
Branches 73 74 +1
==========================================
+ Hits 366 372 +6
Misses 42 42
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
+ Coverage 89.7% 89.85% +0.14%
==========================================
Files 6 6
Lines 408 414 +6
Branches 73 74 +1
==========================================
+ Hits 366 372 +6
Misses 42 42
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
+ Coverage 89.7% 89.85% +0.14%
==========================================
Files 6 6
Lines 408 414 +6
Branches 73 74 +1
==========================================
+ Hits 366 372 +6
Misses 42 42
Continue to review full report at Codecov.
|
When an error occurs when collecting a profile, right now, the status message of the response is logged at the debug level.
This change makes it so the response body's message is logged instead when possible, hopefully making the debug logs clearer.