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

Throw error if config.json is not found #200

Open
SaiiDey opened this issue Aug 2, 2022 · 0 comments
Open

Throw error if config.json is not found #200

SaiiDey opened this issue Aug 2, 2022 · 0 comments

Comments

@SaiiDey
Copy link
Collaborator

SaiiDey commented Aug 2, 2022

In PsfRuntime/Config.cpp we have function load_json. We try multiple locations where we expect config.json. But if config.sjon is not found anywhere, we don't get proper error. It simply crashes. Check the for loop. We don't check if file is still null after exiting the for loop but that is a valid outcome from the code flow.

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

No branches or pull requests

1 participant