Logger report callback_mode
for gen_statem
changed in OTP27
#8605
Labels
Milestone
callback_mode
for gen_statem
changed in OTP27
#8605
Describe the bug
Since this change, the
logger:report()
emitted by whengen_statem
crashes (when usingcallback_mode=handle_event_function
) has a different value for thecallback_mode
key:handle_event_function
atom in OTP 26-fun Mod:handle_event/4
Not sure if this is a bug or intentional, feel free to close if it's the latter.
Just reporting in case it wasn't.
To Reproduce
(sorry in Elixir, taken from https://github.com/elixir-lang/elixir/pull/13684/files)
Expected behavior
Perhaps it should be consistent with OTP26- and return
handle_event_function
?Affected versions
OTP 27.0
The text was updated successfully, but these errors were encountered: