Improve exception message

This commit is contained in:
Dmitry Novik 2023-01-11 19:21:07 +00:00
parent 93eb0f25e4
commit 7112d4ec83

View File

@ -36,7 +36,7 @@ const DataTypes & FunctionNode::getArgumentTypes() const
{
if (!function)
throw Exception(ErrorCodes::LOGICAL_ERROR,
"Trying to get expected argument types of function {} when IResolvedFunction is not set",
"Function {} is not resolved",
function_name);
return function->getArgumentTypes();
}