]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print out more of the parsing error
authorAlan T. DeKok <aland@freeradius.org>
Sun, 22 Oct 2023 15:41:31 +0000 (11:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 22 Oct 2023 15:41:31 +0000 (11:41 -0400)
src/lib/unlang/compile.c

index 3003b84f5c4db91048f52f8102df9fe6f5a970df..0802e7b0534257df565c1a4a0e0a319659e17673 100644 (file)
@@ -1512,7 +1512,7 @@ static unlang_t *compile_edit_section(unlang_t *parent, unlang_compile_t *unlang
 
        slen = tmpl_afrom_attr_str(map, NULL, &map->lhs, name, &t_rules);
        if (slen <= 0) {
-               cf_log_err(cs, "Failed parsing list reference %s", name);
+               cf_log_err(cs, "Failed parsing list reference %s - %s", name, fr_strerror());
        fail:
                talloc_free(edit_free);
                return NULL;