Commit 3b61d09a authored by Anael Beutot's avatar Anael Beutot
Browse files

Track exception when calculating tag values.

In case of an exception, the value of the tag is set to None.
parent 8f4db351
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -54,7 +54,10 @@ class Tag(object):
        self.sub_id = None

    def calculate_value(self):
        try:
            self.value = self._calculate_value()
        except Exception:
            self.value = None
        # logger.debug('Calculate Tag(%s) = %s', self.name, self.value)

    def start(self, loop):