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

(autolab download) Exit code of 0 is returned on error #18

Open
victorhuangwq opened this issue Jun 6, 2020 · 0 comments
Open

(autolab download) Exit code of 0 is returned on error #18

victorhuangwq opened this issue Jun 6, 2020 · 0 comments

Comments

@victorhuangwq
Copy link
Contributor

We observed this in 2 situations:
        1. when trying to download a non-existing assignment.
        2. when trying to download an already downloaded assignment.
           It's great that the CLI refuses to download the assignment if a directory
           with that name already exists, but it returns the same exit code as a
           successful download (which throws out our script).
        (There may be other situations, but we haven't run into them.)

https://github.com/autolab/autolab-cli/blob/master/src/cmd/cmdimp.cpp

@victorhuangwq victorhuangwq changed the title (autolab download) Exit code of 0 is still returned on error (autolab download) Exit code of 0 is returned on error Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants