diff --git a/vmhost/hostCore/execution.go b/vmhost/hostCore/execution.go index 51c95912d..64aded75b 100644 --- a/vmhost/hostCore/execution.go +++ b/vmhost/hostCore/execution.go @@ -1150,7 +1150,7 @@ func (host *vmHost) callUpgradeFunction() error { func (host *vmHost) callSCFunction(functionName string) error { runtime := host.Runtime() if !runtime.HasFunction(functionName) { - return nil + return executor.ErrFuncNotFound } err := runtime.CallSCFunction(functionName)