default:
slen = tmpl_afrom_attr_str(ctx, NULL, &map->lhs, attr, lhs_rules);
if (slen <= 0) {
- cf_log_err(cp, "Failed parsing attribute reference");
+ cf_log_err(cp, "Failed parsing attribute reference %s - %s", attr, fr_strerror());
marker_subject = attr;
goto marker;
}
*/
slen = tmpl_afrom_attr_str(ctx, NULL, &map->lhs, cf_section_name1(subcs), &our_lhs_rules);
if (slen <= 0) {
- cf_log_err(ci, "Failed parsing attribute reference");
+ cf_log_err(ci, "Failed parsing attribute reference for list %s - %s",
+ cf_section_name1(subcs), fr_strerror());
talloc_free(map);
goto error; /* re-do "goto marker" stuff to print out spaces ? */
}