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

rdme swagger exits with exit code 0 on error #11

Closed
xadcoh opened this issue Feb 6, 2019 · 1 comment
Closed

rdme swagger exits with exit code 0 on error #11

xadcoh opened this issue Feb 6, 2019 · 1 comment

Comments

@xadcoh
Copy link

xadcoh commented Feb 6, 2019

Problem

rdme swagger exits with exit code 0 on error

Steps for reproduce

run rdme swagger with invalid json
rdme will return json string with error message and 'There was an error uploading!'
but echo $? will return 0

Environment

rdme 2.2.2
node 8.14.0
alpine linux 3.8 docker container

@domharrington
Copy link
Member

Thanks for reporting. This has been released as v3.0.0.

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