def __call__(self):
    if self.enabled:
        try:
            self.callback()
        except:
            if (not self.ignore_errors):
                raise
def __call__(self):
    if self.enabled:
        try:
            self.callback()
        except:
            if (not self.ignore_errors):
                raise