From e7e359a9862b84b33c392e7d83310ff5aac0cf97 Mon Sep 17 00:00:00 2001 From: Tristan Wilson Date: Wed, 8 May 2024 13:57:15 -0700 Subject: [PATCH] More descriptive jit machine accept() errors --- validator/server_jit/jit_machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/server_jit/jit_machine.go b/validator/server_jit/jit_machine.go index 8a85aa7115..1a3ccfa340 100644 --- a/validator/server_jit/jit_machine.go +++ b/validator/server_jit/jit_machine.go @@ -98,7 +98,7 @@ func (machine *JitMachine) prove( // Wait for the forked process to connect conn, err := tcp.Accept() if err != nil { - return state, err + return state, fmt.Errorf("error waiting for jit machine to connect back to validator: %w", err) } go func() { <-ctx.Done()