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

Log messages in the default handle_info implementation #680

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

mickel8
Copy link
Member

@mickel8 mickel8 commented Nov 20, 2023

The default implementation of GenServer's handle_info logs and drops incoming messages. See here and here

Because our handle_info is called the same way as GenServer's handle_info, I think we should mime GenServer's handle_info behaviour and log incoming messages too?

For the context, see this issue.

@mickel8 mickel8 requested a review from mat-hek as a code owner November 20, 2023 12:16
@mat-hek mat-hek merged commit cd5b007 into master Nov 20, 2023
7 checks passed
@mat-hek mat-hek deleted the handle-info-log branch November 20, 2023 14:30
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.

2 participants