diff --git a/packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py b/packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py index cf3f299e..27286acc 100644 --- a/packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py @@ -692,9 +692,9 @@ class UbootInstaller(SubprocessMixin, Base): except PartedException as ex: self.log.error("cannot get partition table from %s: %s", self.device, str(ex)) - except AttributeError as ex: - self.log.error("XXX cannot get partition table from %s: %s", - self.device, str(ex)) + except Error as ex: + self.log.exception("cannot get partition table from %s" + self.device) self.log.info("creating msdos label on %s") self.partedDisk = parted.freshDisk(self.partedDevice, 'msdos')