diff options
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index c06ab072a..05803d6af 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -50,6 +50,8 @@ class CommandFailed(CommandExit): def __init__(self, message): self.error = message CommandExit.__init__(self, 1) + def __str__(self): + return "Command execution failed: %s" % self.error class CommandError(Exception): pass |