Example #1
0
 def error(self, exception):
     from logging import SAXError
     self.log(SAXError({'exception': str(exception)}))
     raise exception
Example #2
0
 def log(exception):
     from logging import SAXError
     self.log(SAXError({'exception': str(exception)}))