Skip to content

Commit

Permalink
Merge 3f42f9d into 628e6c8
Browse files Browse the repository at this point in the history
  • Loading branch information
matriv committed Jun 27, 2017
2 parents 628e6c8 + 3f42f9d commit 696d447
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/crate/crash/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,11 @@ def main():

crate_hosts = [host_and_port(h) for h in args.hosts]
error_trace = args.verbose > 0
cmd = _create_cmd(crate_hosts, error_trace, output_writer, is_tty, args)
try:
cmd = _create_cmd(crate_hosts, error_trace, output_writer, is_tty, args)
except ProgrammingError as e:
printer.warn(str(e))
sys.exit(1)

if error_trace:
# log CONNECT command only in verbose mode
Expand Down

0 comments on commit 696d447

Please sign in to comment.