From b7fa5b5a10e18e997133007235d2bf75ecd1d06f Mon Sep 17 00:00:00 2001 From: robertsasu Date: Tue, 9 Jan 2024 13:58:04 +0200 Subject: [PATCH] fix after comment --- vmhost/contexts/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }