diff --git a/pyghmi/redfish/oem/lenovo/tsma.py b/pyghmi/redfish/oem/lenovo/tsma.py index 2d7c2397..d16c74a4 100644 --- a/pyghmi/redfish/oem/lenovo/tsma.py +++ b/pyghmi/redfish/oem/lenovo/tsma.py @@ -125,6 +125,8 @@ class TsmHandler(generic.OEMHandler): if currprog: progress({'phase': 'download', 'progress': 100 * currprog}) + if fd.exc: + raise fd.exc if progress: progress({'phase': 'complete'}) return savefile