Skip to content

Conversation

@aarshkshah1992
Copy link
Contributor

@raulk This is to debug the "Timed out waiting for complete message" issue.

@codecov-commenter
Copy link

Codecov Report

Merging #236 (f72c2a9) into master (8931e01) will increase coverage by 0.06%.
The diff coverage is 90.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
+ Coverage   67.70%   67.77%   +0.06%     
==========================================
  Files          24       24              
  Lines        3044     3050       +6     
==========================================
+ Hits         2061     2067       +6     
  Misses        627      627              
  Partials      356      356              
Impacted Files Coverage Δ
impl/events.go 75.08% <90.00%> (+0.49%) ⬆️

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 8931e01...f72c2a9. Read the comment docs.

msg, err := m.completeMessage(chid)
if err != nil {
return nil
return err
Copy link
Member

Choose a reason for hiding this comment

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

Is this changed on purpose? I see everything else is log lines, apart from this.

Copy link
Member

Choose a reason for hiding this comment

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

This needs an explanation, as it introduces a change in behaviour.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey,

The error returned from here is only logged and we take no action based on it. If there's an error while creating the complete message, we do want to know about it.

Copy link
Member

@nonsense nonsense left a comment

Choose a reason for hiding this comment

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

LGTM, just one comment :)

msg, err := m.completeMessage(chid)
if err != nil {
return nil
return err
Copy link
Member

Choose a reason for hiding this comment

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

This needs an explanation, as it introduces a change in behaviour.

@raulk raulk merged commit e69ae98 into master Aug 19, 2021
@raulk raulk deleted the debug/log-complete-message-flow branch August 19, 2021 09: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.

5 participants