Skip to content

fix: correct swapped error log messages in payload events - #917

Open
VolodymyrBg wants to merge 1 commit into
allora-network:devfrom
VolodymyrBg:fix/swapped-error-messages-events
Open

fix: correct swapped error log messages in payload events#917
VolodymyrBg wants to merge 1 commit into
allora-network:devfrom
VolodymyrBg:fix/swapped-error-messages-events

Conversation

@VolodymyrBg

@VolodymyrBg VolodymyrBg commented Feb 22, 2026

Copy link
Copy Markdown

Purpose of Changes and their Description

Error log messages in EmitNewInsertInfererPayloadEvent and EmitNewInsertForecasterPayloadEvent were swapped — each function was logging the other's event name, making debugging confusing.

Fixed the log messages to correctly identify which event failed to emit.

Link(s) to Ticket(s) or Issue(s) resolved by this PR

None

Are these changes tested and documented?

  • If tested, please describe how. If not, why tests are not needed. - Not necessary to test, not a functional change

Summary by cubic

Fixed swapped error log messages in EmitNewInsertInfererPayloadEvent and EmitNewInsertForecasterPayloadEvent so failures log the correct event name, improving debugging clarity.

Written for commit 5e23f84. Summary will update on new commits.

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

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.

1 participant