def _save_error(exc, title, message):
    if ('saved_error_uuid' in g):
        return
    if (not _is_error_reportable(exc)):
        return
    g.saved_error_uuid = uuid = unicode(uuid4())
    tb = traceback.format_exc()
    data = {'title': title, 'message': message, 'request_info': get_request_info(), 'traceback': tb, 'sentry_event_id': g.get('sentry_event_id')}
    GenericCache('errors').set(uuid, data, 7200)
def _save_error(exc, title, message):
    if ('saved_error_uuid' in g):
        return
    if (not _is_error_reportable(exc)):
        return
    g.saved_error_uuid = uuid = unicode(uuid4())
    tb = traceback.format_exc()
    data = {'title': title, 'message': message, 'request_info': get_request_info(), 'traceback': tb, 'sentry_event_id': g.get('sentry_event_id')}
    GenericCache('errors').set(uuid, data, 7200)