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

invalid config file exception not handled which causes abort #8

Closed
LeoKira997 opened this issue Nov 27, 2021 · 2 comments
Closed

invalid config file exception not handled which causes abort #8

LeoKira997 opened this issue Nov 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@LeoKira997
Copy link

this is what happens when i try to run imodd

[info] input-modifier v1.3.4
[info] scanning devices...
[info] starting device listener...
[info] initializing socket interface...
[info] removing remnants of dead daemon...
[info] initializing devices...
terminate called after throwing an instance of 'nlohmann::detail::parse_error'
what(): [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
Aborted (core dumped)

@LeoKira997
Copy link
Author

disregard, deleted config files and it worked fine, hate how i always figure things out after reporting/asking someone before they can respond...

@tildearrow
Copy link
Owner

tildearrow commented Nov 27, 2021

Wait a moment. Please provide your configuration file as this is still a bug (unable to handle corrupted configuration). Never mind. Bug fixed regardless by handling failure to parse config.

@tildearrow tildearrow reopened this Nov 27, 2021
@tildearrow tildearrow self-assigned this Nov 27, 2021
@tildearrow tildearrow added the bug Something isn't working label Nov 27, 2021
@tildearrow tildearrow changed the title fails to start invalid config file exception not handled which causes abort Nov 27, 2021
tildearrow added a commit that referenced this issue Nov 27, 2021
tildearrow added a commit that referenced this issue Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants