summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bc355a1)
Change-Id: I194932ac67aa9a04a1fd4a7e4789103b13477e6e
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
msg = 'Exception executing command: {} -> {}'.format(command, e)
if show_error_log:
self.error(msg)
msg = 'Exception executing command: {} -> {}'.format(command, e)
if show_error_log:
self.error(msg)
+ if raise_exception_on_error:
+ raise e
+ else:
+ return '', -1