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

Shouldn't dstep exit with status code when there is some kind of error? #59

Closed
ciechowoj opened this issue Apr 7, 2016 · 1 comment
Closed

Comments

@ciechowoj
Copy link
Contributor

Currently dstep always returns 0 exit code, even on the failure (wrong input file/wrong command arguments). I believe it would be better, if it returns something other (e.g. 1) when there is an error. I would make dstep easier to integrate with some command line tools (and make testing easier).

@jacob-carlborg
Copy link
Owner

Absolutely. It should exit with a non-zero status code if an exception has been thrown. Although, I'm not sure if an exception is thrown in all the right places.

ciechowoj added a commit to ciechowoj/dstep that referenced this issue Jul 30, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Jul 30, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
@ciechowoj ciechowoj mentioned this issue Aug 3, 2016
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 6, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 8, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
ciechowoj added a commit to ciechowoj/dstep that referenced this issue Aug 9, 2016
…re is some kind of error?

Fix jacob-carlborg#28: Crashes if fed nonexistent header.
jacob-carlborg added a commit that referenced this issue Aug 10, 2016
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

2 participants