A missing case in a switch causes an obscure error message #1460
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Describe the bug
When a macro encounters an unhandled switch case, it produces an obscure error message which doesn't explain the source of the error
To Reproduce
Steps to reproduce the behavior:
The output is something like
Expected behavior
A proper error message explaining the missing case
Screenshots
None
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: