docs: def handle_exception(self, e):
          """called by flask when an exception happens. p4rr0t007 always returns
          a 500.html response that must exist under the given
          ``template_folder`` constructor param.
          """
          sys.stderr.write("p4rr0t007 handled an error:")
          sys.stderr.write(traceback.format_exc(e))
          sys.stderr.flush()
  
          self.log.exception('failed to handle {} {}'.format(request.method, request.url))
          try:
              return self.template_response(self.error_template_name, code=500)
          except TemplateError as e:
              sys.stderr.write('failed render the {}/{}'.format(self.template_folder, self.error_template_name))
              sys.stderr.write(traceback.format_exc(e))
  
          sys.stderr.flush()
          return self.text_response('5ERV3R 3RR0R')