@classmethod
  def configure(cls):
    if options.debug:
      import traceback
      def log_error(self, e): 
        logging.error((traceback.format_exc(), repr(self.request.headers)) % '%s\nHeaders: %s\n')
      cls.log_error = log_error
dataset/ETHPy150Open JeremyOT/Toto/toto/clientsideworker.py/ClientSideWorkerSocketHandler.configure/swapped operands of `%`