Skip to content

Commit

Permalink
Merge pull request #2082 from OffchainLabs/improve-feed-connecting-er…
Browse files Browse the repository at this point in the history
…rors

Add context to fatal error messages while connecting to feed
  • Loading branch information
joshuacolvin0 authored Jan 23, 2024
2 parents 4ad2693 + 09e359c commit 2a947b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broadcastclient/broadcastclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (bc *BroadcastClient) Start(ctxIn context.Context) {
errors.Is(err, ErrIncorrectChainId) ||
errors.Is(err, ErrMissingFeedServerVersion) ||
errors.Is(err, ErrIncorrectFeedServerVersion) {
bc.fatalErrChan <- err
bc.fatalErrChan <- fmt.Errorf("failed connecting to server feed due to %w", err)
return
}
if err == nil {
Expand Down

0 comments on commit 2a947b4

Please sign in to comment.