Skip to content

Commit

Permalink
Log the response body
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed May 15, 2024
1 parent 659603a commit cd57c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/notification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func TestMultiprocessDupeOTKUpload(t *testing.T) {
if cd.ResponseCode != 200 {
// we rely on the homeserver checking and rejecting when the same key ID is used with
// different keys.
t.Errorf("/keys/upload returned an error, duplicate key upload? %+v", cd)
t.Errorf("/keys/upload returned an error, duplicate key upload? %+v => %v", cd, string(cd.ResponseBody))
}
// tarpit the response
t.Logf("tarpitting keys/upload response for 4 seconds")
Expand Down

0 comments on commit cd57c44

Please sign in to comment.