diff --git a/daemon/core/nodes/interface.py b/daemon/core/nodes/interface.py index 3a5836af..b583d3a8 100644 --- a/daemon/core/nodes/interface.py +++ b/daemon/core/nodes/interface.py @@ -153,7 +153,8 @@ class CoreInterface: :param str addr: hardware address to set to. :return: nothing """ - addr = utils.validate_mac(addr) + if addr is not None: + addr = utils.validate_mac(addr) self.hwaddr = addr def getparam(self, key: str) -> float: diff --git a/daemon/core/utils.py b/daemon/core/utils.py index 0d7e4a33..73e11cb8 100644 --- a/daemon/core/utils.py +++ b/daemon/core/utils.py @@ -440,6 +440,7 @@ def threadpool( result = future.result() results.append(result) except Exception as e: + logging.exception("thread pool exception") exceptions.append(e) return results, exceptions