File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/cloudformation_cli_python_lib Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -222,10 +222,16 @@ def print_or_log(message: str) -> None:
222
222
progress = e .to_progress_event ()
223
223
except Exception as e : # pylint: disable=broad-except
224
224
print_or_log ("Exception caught {0}" .format (e ))
225
- progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
225
+ progress = ProgressEvent .failed (
226
+ HandlerErrorCode .InternalFailure ,
227
+ message = str ("Exception caught {0}" .format (e )),
228
+ )
226
229
except BaseException as e : # pylint: disable=broad-except
227
230
print_or_log ("Base exception caught (this is usually bad) {0}" .format (e ))
228
- progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
231
+ progress = ProgressEvent .failed (
232
+ HandlerErrorCode .InternalFailure ,
233
+ message = str ("Base exception caught {0}" .format (e )),
234
+ )
229
235
230
236
if progress .result :
231
237
progress .result = None
You can’t perform that action at this time.
0 commit comments