-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Creating an issue for this problem discussed in the Discord.
It's possible for the handle_exit function in the supervisor module to be called with state that is missing the starter.exec function.
This causes the following error due to this let assert
Runtime terminating during boot ({#{function=><<"handle_exit">>,line=>303,message=><<"Assertion pattern match failed">>,module=><<"gleam/otp/supervisor">>,value=>none,gleam_error=>let_assert},[{'gleam@otp@supervisor',handle_exit,2,[{file,"/[....]/build/dev/erlang/gleam_otp/_gleam_artefacts/gleam@[email protected]"},{line,235}]},{'gleam@otp@actor',loop,1,[{file,"/[....]/build/dev/erlang/gleam_otp/_gleam_artefacts/gleam@[email protected]"},{line,150}]}]})Unfortunately I do not have a way to reproduce at the moment and I'm unsure as to the exact details that cause the none value.
Metadata
Metadata
Assignees
Labels
No labels