diff options
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 345b313f7..043322607 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -50,6 +50,12 @@ def novaclient_converter(f): class ProcessExecutionError(IOError): def __init__(self, stdout=None, stderr=None, exit_code=None, cmd=None, description=None): + self.exit_code = exit_code + self.stderr = stderr + self.stdout = stdout + self.cmd = cmd + self.description = description + if description is None: description = _('Unexpected error while running command.') if exit_code is None: |
