From: Frank Brehm Date: Wed, 18 Oct 2023 10:28:43 +0000 (+0200) Subject: Changing error handling X-Git-Tag: 3.1.0~7 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=174484923d5352f31d151c3c31e4b57cbb2c79b1;p=pixelpark%2Fcreate-vmware-tpl.git Changing error handling --- diff --git a/lib/cr_vmware_tpl/handler/vm.py b/lib/cr_vmware_tpl/handler/vm.py index 4e0183d..b74c62d 100644 --- a/lib/cr_vmware_tpl/handler/vm.py +++ b/lib/cr_vmware_tpl/handler/vm.py @@ -247,11 +247,11 @@ class HandlerVmMixin(): result = self.exec_remote(cmd) if result['err']: - LOG.error(result['err']) - if self.postinstall_errors: - self.postinstall_errors += result['err'] - else: - self.postinstall_errors = result['err'] + LOG.warn(result['err']) + # if self.postinstall_errors: + # self.postinstall_errors += result['err'] + # else: + # self.postinstall_errors = result['err'] else: LOG.debug("{}:\n\n".format(desc) + result['out'])