def emit(self, record):

        information = get_request_information()

        information.update({
            "event": "exception",
            "time": datetime.now(),
            "trace": record.msg
        })

        api.common.get_conn().exceptions.insert(information)
Store record into the db.
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/logger.py/ExceptionHandler.emit