Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

holochain -c <config> doesn't exit with a non-zero exit code on parsing failure #1301

Open
pjkundert opened this issue Apr 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@pjkundert
Copy link
Contributor

pjkundert commented Apr 19, 2019

If there is an error in the configuration file, holochain should exit with a non-zero exit code, so that this failure can be detected by scripts:

$ holochain -c conductor-agent-0.toml
Using config path: conductor-agent-0.toml
Error while trying to boot from config: IoError("Could not serialize toml: invalid number at line 60")
$ echo $?
0
@maackle maackle added the enhancement New feature or request label Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants