Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #165 from apiaryio/kylef/clear-abort
Browse files Browse the repository at this point in the history
fix(dep): Don't use abort as this doesn't display error
  • Loading branch information
honzajavorek committed May 2, 2018
2 parents 9c6b32a + 81d7357 commit deb040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackbelt/commands/dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate_dep(ctx, param, dep):
else:
if ctx.params.get('debug'):
raise
raise click.Abort('Unable to figure out the package version')
raise click.ClickException('Unable to figure out the package version. See --debug for more information.')
return (dep_name, dep_version)


Expand Down

0 comments on commit deb040c

Please sign in to comment.