Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent defaults on parse-errors #379

Open
vinjana opened this issue Apr 29, 2024 · 0 comments
Open

Silent defaults on parse-errors #379

vinjana opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@vinjana
Copy link
Contributor

vinjana commented Apr 29, 2024

At many places in Roddy, RoddyToolLib RoddyConversionHelper functions to parse integers, etc. are used. These methods are unsafe, because they catch all exceptions and instead return some default value.

  1. Check all sites the methods are used, and verify, that the default value indeed is safe to use. Generally, require the user to properly configure Roddy, rather than best guessing some value.
  2. Replace the sites where this is not the case, by a normal exception.
@vinjana vinjana added the bug label Apr 29, 2024
@vinjana vinjana moved this to Backlog in RoddyCore May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant