def _get_jinja_error_message(tb_data):
    try:
        line = _get_jinja_error_slug(tb_data)
        return u'{0}({1}):\n{3}'.format(*line)
    except IndexError:
        pass
    return None
Return an understandable message from jinja error output
dataset/ETHPy150Open saltstack/salt/salt/utils/templates.py/_get_jinja_error_message