]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Less confusing error
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 14 Nov 2023 00:06:15 +0000 (18:06 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 14 Nov 2023 00:06:15 +0000 (18:06 -0600)
src/lib/unlang/compile.c

index ddfe4708059bf10783a0ae881135e4d43072b12b..f17a16711e83104a4736ddf05ecf1961b4638ea7 100644 (file)
@@ -4392,7 +4392,7 @@ static unlang_t *compile_module(unlang_t *parent, unlang_compile_t *unlang_ctx,
         *      component.
         */
        if (!method) {
-               cf_log_err(ci, "Failed compiling %s - %s", inst->module->name, fr_strerror());
+               cf_log_err(ci, "Failed compiling %s - no method matching calling section found", inst->module->name);
                return NULL;
        }