Skip to content

Commit

Permalink
Merge pull request #2290 from OffchainLabs/better-validator-timeout-e…
Browse files Browse the repository at this point in the history
…rror

More descriptive jit machine accept() errors
  • Loading branch information
Tristan-Wilson authored May 8, 2024
2 parents cb74941 + 1ff9ab6 commit 0a4c491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/server_jit/jit_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0a4c491

Please sign in to comment.