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

Give message rather than error if not in a CARME directory. #72

Open
jkuruzovich opened this issue Oct 23, 2018 · 0 comments
Open

Give message rather than error if not in a CARME directory. #72

jkuruzovich opened this issue Oct 23, 2018 · 0 comments
Assignees

Comments

@jkuruzovich
Copy link
Contributor

Currently you get this ugly message if you run a carme command other than new and you aren't in a carme directory.

Traceback (most recent call last):
  File "/usr/local/bin/carme", line 11, in <module>
    sys.exit(carme())
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
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