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

chore: ci fix #15

Merged
merged 2 commits into from
Jun 8, 2024
Merged

chore: ci fix #15

merged 2 commits into from
Jun 8, 2024

Conversation

syrm
Copy link
Member

@syrm syrm commented Jun 8, 2024

No description provided.

Comment on lines 37 to 39
slog.Info("received from durable consumer", slog.Any("event", event), slog.Any("subject", msg.Subject()))

return nil

Choose a reason for hiding this comment

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

The log message at line 37 logs the event and subject but does not include any error handling or validation for the received message. If the message is malformed or contains unexpected data, it could lead to issues downstream.

Recommended Solution:
Add validation and error handling for the received message before logging and processing it. This ensures that any issues with the message are caught early and handled appropriately.

@syrm syrm closed this Jun 8, 2024
@syrm syrm reopened this Jun 8, 2024
@syrm syrm closed this Jun 8, 2024
@syrm syrm reopened this Jun 8, 2024
@syrm syrm merged commit 9cbf8ca into main Jun 8, 2024
3 checks passed
@syrm syrm deleted the ci-fix-3 branch June 8, 2024 21:03
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