diff --git a/vmhost/contexts/validator.go b/vmhost/contexts/validator.go index c3d3c636e..33114c775 100644 --- a/vmhost/contexts/validator.go +++ b/vmhost/contexts/validator.go @@ -67,7 +67,7 @@ func (validator *wasmValidator) verifyValidFunctionName(functionName string) err return err } - errInvalidName := fmt.Errorf("%w: %s", vmhost.ErrInvalidFunctionName, functionName) + errInvalidName := fmt.Errorf("%w: %x", vmhost.ErrInvalidFunctionName, functionName) if validator.reserved.IsReserved(functionName) { return errInvalidName }