Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Return code 0 even when an error is reported #27

Closed
mividtim opened this issue Nov 30, 2018 · 0 comments
Closed

Return code 0 even when an error is reported #27

mividtim opened this issue Nov 30, 2018 · 0 comments

Comments

@mividtim
Copy link

Expected behavior

A non-zero exit code from running the CLI app when there is a problem with the upload

Observed behavior

Exit code 0 even when an error is reported

Steps to reproduce

Try to upload a file that doesn't exist, and check the exit code of the command, e.g.

bugsnag-sourcemaps upload  --api-key [redacted] \
                --app-version 0.1.0 \
                --minified-file /invalid-path/to/index.android.bundle \
                --source-map /invalid-path/to/index.android.bundle.map \
                --minified-url index.android.bundle \
                --upload-sources
echo "Exit code $?"

If the exit code is 0, the bug still exists.

Version

1.0.4

Additional information

We're running this from a Linux instance on Bitrise

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

No branches or pull requests

1 participant