Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Check unknown options in config #669

Open
Nashatyrev opened this issue Dec 27, 2016 · 1 comment
Open

Check unknown options in config #669

Nashatyrev opened this issue Dec 27, 2016 · 1 comment
Labels

Comments

@Nashatyrev
Copy link
Member

It often hard to debug if the option name has a typo in user config. So it's worth to check the resulting config for unknown options against ethereumj.conf and either throw exception ( == exit) or print a warning

@cupuyc
Copy link
Collaborator

cupuyc commented Dec 29, 2016

Need to consider next scenario.
Other applications which use ethereumJ as library may use own system properties (-Dprop1=value1). In that case those properties will appear into ethereumJ typesafe config library.

Then exiting could be an option only if parsed ethereumj.conf contains invalid entries.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants