Skip to content

fix lua error message#1604

Merged
pfeerick merged 1 commit intoEdgeTX:mainfrom
klutvott123:fix-lua-error-message
Feb 26, 2022
Merged

fix lua error message#1604
pfeerick merged 1 commit intoEdgeTX:mainfrom
klutvott123:fix-lua-error-message

Conversation

@klutvott123
Copy link
Contributor

Same as opentx/opentx#8760

It's not guaranteed that the error string contains '/'. strrchr will return a null pointer if the character isn't found and the result is that we get only the error title and no message.
The companion will crash if this happens in the sim.

@pfeerick
Copy link
Member

Thanks for adding it here also! :)

@pfeerick pfeerick added bug 🪲 Something isn't working lua labels Feb 26, 2022
@pfeerick pfeerick added this to the 2.7 milestone Feb 26, 2022
@pfeerick pfeerick merged commit 279c308 into EdgeTX:main Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working lua

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants