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(core): log errors if message is undeliverable #528

Conversation

TimoGlastra
Copy link
Contributor

The error message being logged just indicated that a message is underliverable to a certain connection. It swallowed the underlying errors. This adds an errors property to the error log so that it is clear what the underlying errors are when a message is underliverable.

Signed-off-by: Timo Glastra [email protected]

The error message being logged just indicated that a message is underliverable to a certain connection. It swallowed the underlying errors. This adds an `errors` property to the error log so that it is clear what the underlying errors are when a message is underliverable.

Signed-off-by: Timo Glastra <[email protected]>
@TimoGlastra TimoGlastra requested a review from a team as a code owner November 7, 2021 16:01
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2021

Codecov Report

Merging #528 (b405e8e) into main (5e9a641) will decrease coverage by 0.00%.
The diff coverage is 62.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #528      +/-   ##
==========================================
- Coverage   86.27%   86.26%   -0.01%     
==========================================
  Files         266      266              
  Lines        5762     5767       +5     
  Branches      931      931              
==========================================
+ Hits         4971     4975       +4     
- Misses        790      791       +1     
  Partials        1        1              
Impacted Files Coverage Δ
packages/core/src/agent/MessageSender.ts 72.26% <62.50%> (+0.33%) ⬆️

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 5e9a641...b405e8e. Read the comment docs.

Signed-off-by: Timo Glastra <[email protected]>

Co-authored-by: Berend Sliedrecht <[email protected]>
@TimoGlastra TimoGlastra enabled auto-merge (squash) November 8, 2021 12:34
@TimoGlastra TimoGlastra merged commit 20b586d into openwallet-foundation:main Nov 8, 2021
@TimoGlastra TimoGlastra deleted the log-errors-undeliverable-message branch March 10, 2022 20:37
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.

3 participants