Commit b9ea6acb authored by Iustin Pop's avatar Iustin Pop
Browse files

Add handler for errors.TagError

This patch adds a simple handler for TagError that prints the error
(better than having a stack dump).

Reviewed-by: imsnah
parent 810c50b7
......@@ -427,6 +427,9 @@ def GenericMain(commands, override=None):
except errors.OpExecError, err:
logger.ToStderr("Failure: command execution error:\n%s" % str(err))
result = 1
except errors.TagError, err:
logger.ToStderr("Failure: invalid tag(s) given:\n%s" % str(err))
result = 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment