]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add error message to xlat_redundant when it fails
authorAlan T. DeKok <aland@freeradius.org>
Fri, 11 Jul 2025 11:18:19 +0000 (07:18 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 11 Jul 2025 11:37:35 +0000 (07:37 -0400)
src/lib/unlang/xlat_redundant.c

index c171c5e99c8f9ec2507c2a974b1a4b89f65ab1d6..dd4aeea73bca5de26b8ced9a2de606e247f38b5e 100644 (file)
@@ -105,6 +105,7 @@ static xlat_action_t xlat_redundant_resume(TALLOC_CTX *ctx, fr_dcursor_t *out,
         *      We're back to the first one we tried, fail...
         */
        if (rctx->current == rctx->first) {
+               fr_strerror_printf("Failed all choices for redundant expansion %s", xctx->ex->fmt);
        error:
                xa = XLAT_ACTION_FAIL;
                goto done;