From: Nick Porter Date: Fri, 25 Aug 2023 13:51:25 +0000 (+0100) Subject: Better error message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=186948b5717af50f232e6018e95fdda9abe51115;p=thirdparty%2Ffreeradius-server.git Better error message --- diff --git a/src/lib/unlang/call_env.c b/src/lib/unlang/call_env.c index 6d2486416a1..a3c396a95a9 100644 --- a/src/lib/unlang/call_env.c +++ b/src/lib/unlang/call_env.c @@ -205,7 +205,7 @@ call_env_result_t call_env_value_parse(TALLOC_CTX *ctx, request_t *request, void vb = fr_value_box_list_head(tmpl_expanded); if (!vb) { if (!env->rule->pair.nullable) { - RPEDEBUG("Failed to evaluate required module option %s", env->rule->name); + RPEDEBUG("Failed to evaluate required module option %s = %s", env->rule->name, env->tmpl->name); return CALL_ENV_MISSING; } return 0;