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

Bad error handling #2

Open
LamaKing opened this issue Feb 22, 2017 · 0 comments
Open

Bad error handling #2

LamaKing opened this issue Feb 22, 2017 · 0 comments

Comments

@LamaKing
Copy link
Member

If something goes wrong the script simply exits without giving any notice.
For instance, if you don't have the right permissions to start a VM, it won't tell you anything (yes I forgot to type sudo a couple of times... My bad, but the script should have said something!)

The construct

try: 
    ... 
except:
    ...

should be used, I guess.

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

1 participant