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

Improve support for Snap errors without a message #2176

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Feb 9, 2024

Previously you would have to do something like new InternalError(undefined, { data: 'here' }). Now you can omit the undefined parameter, and simply use new InternalError({ data: 'here' }).

@Mrtenz Mrtenz requested a review from a team as a code owner February 9, 2024 12:23
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d844be7) 96.54% compared to head (84cbf1c) 96.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2176   +/-   ##
=======================================
  Coverage   96.54%   96.54%           
=======================================
  Files         331      331           
  Lines        7459     7463    +4     
  Branches     1145     1146    +1     
=======================================
+ Hits         7201     7205    +4     
  Misses        258      258           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mrtenz Mrtenz merged commit 1ada339 into main Feb 9, 2024
147 checks passed
@Mrtenz Mrtenz deleted the mrtenz/snap-error-without-message branch February 9, 2024 12:33
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.

2 participants