def post(self):
        """Records errors reported by the frontend."""
        logging.error('Frontend error: %s' % self.payload.get('error'))
        self.render_json(self.values)
dataset/ETHPy150Open oppia/oppia/main.py/FrontendErrorHandler.post/original