Skip to content

Commit

Permalink
add more verbose error (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusKysel authored Oct 24, 2024
1 parent 559ddf0 commit b2c6480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func New(key *rsa.PrivateKey, logger *zap.Logger, ver []byte, id uint64, outputP
}
ethBackend, err := ethclient.Dial(ethEndpointURL)
if err != nil {
return nil, err
return nil, fmt.Errorf("failed to connect to Ethereum backend, err: %v", err)
}
swtch := NewSwitch(key, logger, ver, pkBytes, id, ethBackend)
s := &Server{
Expand Down

0 comments on commit b2c6480

Please sign in to comment.