def write_error(self, status_code, **kwargs):
        try:
            log_message = kwargs.get('exc_info')[1].log_message
        except (TypeError, AttributeError, __HOLE__):
            log_message = 'unknown reason'
        self.finish(log_message+'\r\n')
dataset/ETHPy150Open EnigmaCurry/curlbomb/curlbomb/server.py/CurlbombBaseRequestHandler.write_error