Skip to content

Conversation

@jw098
Copy link
Collaborator

@jw098 jw098 commented Aug 25, 2025

No description provided.

m_option.instance().program(env, context);
context.wait_for_all_requests();
}catch (...){
}catch (Exception& e){
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the wrong place to do it. You want it here: https://github.com/PokemonAutomation/Arduino-Source/blob/main/SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramSession.cpp#L172

You also can't overwrite the ... because that will allow system exceptions to bypass all the cleanup that's happening in here.

@jw098 jw098 merged commit 78fefbf into PokemonAutomation:main Aug 26, 2025
5 checks passed
@jw098 jw098 deleted the error branch August 26, 2025 19:21
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