From bca0114226d2973fd1ab31d6e3f7b2313b6e6d40 Mon Sep 17 00:00:00 2001 From: Ganesh Vanahalli Date: Thu, 11 Jul 2024 11:26:29 -0500 Subject: [PATCH] address PR comments --- staker/stateless_block_validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staker/stateless_block_validator.go b/staker/stateless_block_validator.go index 61ace07cb5..e263e1c402 100644 --- a/staker/stateless_block_validator.go +++ b/staker/stateless_block_validator.go @@ -433,7 +433,7 @@ func (v *StatelessBlockValidator) Start(ctx_in context.Context) error { if err := spawner.Start(ctx_in); err != nil { if u, parseErr := url.Parse(v.config.ValidationServerConfigs[i].URL); parseErr == nil { if u.Scheme == "http" || u.Scheme == "https" { - return fmt.Errorf("validation server's url scheme: %s is unsupported, it should either be ws or wss, err: %w", u.Scheme, err) + return fmt.Errorf("validation server's url scheme is unsupported, it should either be ws or wss, url:%s err: %w", v.config.ValidationServerConfigs[i].URL, err) } } return err