Skip to content

Commit

Permalink
Add more debug logging to channelID test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Jan 21, 2025
1 parent 3263ce2 commit f9a3764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/test/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, tr
return fmt.Errorf("incorrect channel ID")
}
} else if connState.ChannelID != nil {
return fmt.Errorf("channel ID unexpectedly negotiated")
return fmt.Errorf("channel ID unexpectedly negotiated, got id: %v, full connState: %+v", connState.ChannelID, connState)
}

if expected := expectations.nextProto; expected != "" {
Expand Down

0 comments on commit f9a3764

Please sign in to comment.