Commit f6047204 authored by Michal Čihař's avatar Michal Čihař

Properly raise error message

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 0b8658d8
......@@ -76,7 +76,7 @@ class Repository(object):
message = output_err.strip()
if not message:
message = output.strip()
raise RepositoryException(output)
raise RepositoryException(message)
return output
def execute(self, args):
......
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