-
Notifications
You must be signed in to change notification settings - Fork 314
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
refactor: handle error for http format #3548
refactor: handle error for http format #3548
Conversation
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
4559171
to
0d8f5c1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3548 +/- ##
==========================================
- Coverage 85.36% 84.98% -0.38%
==========================================
Files 910 910
Lines 152030 152022 -8
==========================================
- Hits 129780 129203 -577
- Misses 22250 22819 +569 |
Signed-off-by: tison <[email protected]>
0d8f5c1
to
d8e6597
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
* refactor: handle error for http format Signed-off-by: tison <[email protected]> * finish format handling Signed-off-by: tison <[email protected]> * simplify auth error Signed-off-by: tison <[email protected]> * fix Signed-off-by: tison <[email protected]> * clippy format Signed-off-by: tison <[email protected]> * no longer set greptime-db-format on influxdb error Signed-off-by: tison <[email protected]> --------- Signed-off-by: tison <[email protected]>
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Perhaps we can further tidy error handling code by
impl <T: ErrorExt> From<T> for ErrorResponse
, but this PR is large enough.Checklist