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

Disable useless error wrappings #447

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Disable useless error wrappings #447

merged 1 commit into from
Apr 19, 2021

Conversation

eliecharra
Copy link
Contributor

Q A
πŸ› Bug fix? no
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues none
❓ Documentation no

Description

Wrapping error override original error stackstrace and thus makes sentry unable to group issues properly, every issue are grouped in a single event since stack is always the same.

We should avoid to wrap errors

@eliecharra eliecharra added the kind/maintenance Refactoring or changes to the workspace label Apr 19, 2021
@eliecharra eliecharra requested a review from a team April 19, 2021 11:08
@codecov
Copy link

codecov bot commented Apr 19, 2021

Codecov Report

Merging #447 (7e56095) into main (c96c4d2) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #447   +/-   ##
=======================================
  Coverage   70.73%   70.73%           
=======================================
  Files         284      284           
  Lines        6396     6396           
=======================================
  Hits         4524     4524           
  Misses       1504     1504           
  Partials      368      368           
Impacted Files Coverage Ξ”
pkg/driftctl.go 68.05% <0.00%> (ΓΈ)

@eliecharra eliecharra merged commit 5ff2946 into main Apr 19, 2021
@eliecharra eliecharra deleted the better_error_wrapping branch April 19, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Refactoring or changes to the workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants