def handle_error(self):
        self.log_exception(sys.exc_info())
        if not self.headers_sent:
            self.result = self.error_output(self.environ, self.start_response)
            self.finish_response()
        # XXX else: attempt advanced recovery techniques for HTML or text?
Flush, set the target to None and lose the buffer.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/wsgiref/handlers.py/BaseHandler.handle_error--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/logging/handlers.py/MemoryHandler.close