Skip to content
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

fix: retain full error information for blocking writes (#293) #294

Merged
merged 1 commit into from Jan 4, 2022

Conversation

pabigot
Copy link
Contributor

@pabigot pabigot commented Dec 22, 2021

Closes #293

Proposed Changes

Briefly describe your proposed changes:

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • Tests pass
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@pabigot

This comment has been minimized.

@pabigot pabigot force-pushed the pabigot/20211222a branch 2 times, most recently from d0924cc to 0c248b5 Compare December 22, 2021 18:30
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2021

Codecov Report

Merging #294 (31b43d9) into master (4218b50) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #294      +/-   ##
==========================================
- Coverage   91.87%   91.77%   -0.10%     
==========================================
  Files          23       23              
  Lines        2042     2042              
==========================================
- Hits         1876     1874       -2     
- Misses        110      112       +2     
  Partials       56       56              
Impacted Files Coverage Δ
api/writeAPIBlocking.go 81.81% <100.00%> (ø)
api/http/error.go 88.23% <0.00%> (-11.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4218b50...31b43d9. Read the comment docs.

@pabigot pabigot marked this pull request as ready for review January 1, 2022 15:12
Copy link
Contributor

@vlastahajek vlastahajek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pabigot, thanks for the issue and the fix! Call to Unwrap is really useless.

@vlastahajek vlastahajek merged commit a8363f1 into influxdata:master Jan 4, 2022
@pabigot pabigot deleted the pabigot/20211222a branch January 4, 2022 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WriteAPIBlocking discards http2.Error content
3 participants