Skip to content

Conversation

astitvabajpai
Copy link

The bug in the toMode method is caused by the lack of error handling when parsing the mode string. If an invalid mode string is passed to the method, it will throw a NumberFormatException and cause the program to crash.

The bug in the toMode method is caused by the lack of error handling when parsing the mode string. If an invalid mode string is passed to the method, it will throw a NumberFormatException and cause the program to crash.
@tcurdt
Copy link
Owner

tcurdt commented Jan 4, 2025

Sorry for the late reply. Can you explain how/when you encountered this to be a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants