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: print cause of settings error #4972

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

dandanlen
Copy link
Collaborator

Previously this just always printed: Error reading settings: Error reading settings since using println!("{}", err) just prints the context but not the cause.

@dandanlen dandanlen requested a review from kylezs June 17, 2024 13:42
@dandanlen dandanlen added the non-breaking Merging this PR will create a cherry-pick onto release label Jun 17, 2024
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 71%. Comparing base (4c3bf6f) to head (f04fbe1).

Files Patch % Lines
engine/src/lib.rs 0% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4972    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        429     429            
  Lines      74095   73951   -144     
  Branches   74095   73951   -144     
======================================
- Hits       52934   52726   -208     
- Misses     18328   18381    +53     
- Partials    2833    2844    +11     

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

@kylezs kylezs enabled auto-merge June 17, 2024 13:55
@kylezs kylezs added this pull request to the merge queue Jun 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 17, 2024
@dandanlen dandanlen added this pull request to the merge queue Jun 17, 2024
Merged via the queue into main with commit 83e9691 Jun 17, 2024
47 checks passed
@dandanlen dandanlen deleted the fix/settings-error-println branch June 17, 2024 16:25
chainflip-bot pushed a commit that referenced this pull request Jun 17, 2024
dandanlen added a commit that referenced this pull request Jun 18, 2024
dandanlen added a commit that referenced this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-breaking Merging this PR will create a cherry-pick onto release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants