Skip to content

FIX: FlightData: do not throw on built in actions after the custom action … - #3782

Merged
meee1 merged 1 commit into
ArduPilot:masterfrom
Autonomost:feature/do-action-keynotfound
Sep 17, 2026
Merged

meee1 merged 1 commit into
ArduPilot:masterfrom
Autonomost:feature/do-action-keynotfound

Conversation

@Autonomost

Copy link
Copy Markdown
Contributor

…change

The custom action lookup added in #3744 indexes the CustomActions dictionary with the selected action name. Only actions registered by a plugin are in that dictionary, so every built in action (preflight calibration, set mode, and so on) threw KeyNotFoundException before it was handled. Look the action up with TryGetValue instead.

…change

The custom action lookup added in ArduPilot#3744 indexes the CustomActions
dictionary with the selected action name. Only actions registered by a
plugin are in that dictionary, so every built in action (preflight
calibration, set mode, and so on) threw KeyNotFoundException before it
was handled. Look the action up with TryGetValue instead.
@meee1
meee1 merged commit efb0801 into ArduPilot:master Sep 17, 2026
6 checks passed
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