GH-1265 Add logging for failed function lookup

Resolves #1265
This commit is contained in:
Oleg Zhurakousky
2025-04-16 14:52:18 +02:00
parent e460c4451a
commit d20aa3d0bd

View File

@@ -300,6 +300,8 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
for (String functionName : functionNames) {
FunctionInvocationWrapper function = this.findFunctionInFunctionRegistrations(functionName);
if (function == null) {
logger.warn("Failed to locate function '" + functionName + "' for function definition '"
+ functionDefinition + "'. Returning null.");
return null;
}
else {