Beispiel #1
0
 def on_motor_group_changed(self, event_source, event_type, event_value):
     try:
         self._on_motor_group_changed(event_source, event_type, event_value)
     except:
         msg = 'Error occurred "on_motor_group_changed(%s.%s): %s"'
         exc_info = sys.exc_info()
         self.error(msg, self.motor_group.name, event_type.name, exception_str(*exc_info[:2]))
         self.debug("Details", exc_info=exc_info)
Beispiel #2
0
 def on_motor_group_changed(self, event_source, event_type, event_value):
     try:
         self._on_motor_group_changed(event_source, event_type, event_value)
     except:
         msg = 'Error occurred "on_motor_group_changed(%s.%s): %s"'
         exc_info = sys.exc_info()
         self.error(msg, self.motor_group.name, event_type.name,
                    exception_str(*exc_info[:2]))
         self.debug("Details", exc_info=exc_info)