-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
F3D exits with error code 0 (success) despite an error having occurred (invalid json config file) #1103
Comments
Probably related to #310 |
Please share your "myconfig.json" file |
here is the file that was invalid for @mrdeveloperdude , but it is working well for me. Lets consider that for this issue, the .json is just invalid and we should improve error management in this context |
Original info from the Discord discussion:
The command Even though this is not a bug, possible improvements on F3D's side include:
|
Ask and you shall receive, @snoyer :) |
So I did not adress the incorrect syntax |
All other point raised by @snoyer have been adressed. |
Describe the bug
When running f3d with an invalid json file as input to the --config commandline parameter, it exits with an error message output on stderr but returns exit code 0 to the shell, which signifies success.
The error message that f3d outputs looks like this:
This constitutes 2 distinct problems;
To Reproduce
Steps to reproduce the behavior:
f3d --config=test.json
Expected behavior
I expect the program to report the error and exit with a non-zero exit code such as 1
System Information:
The text was updated successfully, but these errors were encountered: