Skip to content

Commit

Permalink
chore: don't print an ERROR if there is a transient network issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 27, 2023
1 parent 273aef2 commit 88a372a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsl/pact.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ func (p *Pact) VerifyMessageProviderRaw(request VerifyMessageRequest) ([]types.P
go func() {
if err := http.Serve(ln, mux); err != nil {
// NOTE: calling Fatalf causing test failures due to "accept tcp [::]:<port>: use of closed network connection"
log.Printf("[ERROR] API handler start failed: %v", err)
log.Printf("[DEBUG] API handler start failed: %v", err)
}
}()

Expand Down

0 comments on commit 88a372a

Please sign in to comment.