- if self._programmaticUpdate:
- _moduleLogger.info("Blocking updating %r recursively" % item)
- return
- self._programmaticUpdate = True
- try:
- if item.column() in [self._EQ_COLUMN, self._RESULT_COLUMN]:
- self._update_input(item)
- else:
- raise NotImplementedError("Unsupported column to edit %s" % item.column())
- except StandardError, e:
- self.errorReporter.push_exception()
- finally:
- self._programmaticUpdate = False
+ with qui_utils.notify_error(self._errorLog):
+ if self._programmaticUpdate:
+ _moduleLogger.info("Blocking updating %r recursively" % item)
+ return
+ self._programmaticUpdate = True
+ try:
+ if item.column() in [self._EQ_COLUMN, self._RESULT_COLUMN]:
+ self._update_input(item)
+ else:
+ raise NotImplementedError("Unsupported column to edit %s" % item.column())
+ except StandardError, e:
+ self._errorReporter.push_exception()
+ finally:
+ self._programmaticUpdate = False