Skip to content

Commit cd57c44

Browse files
committed
Log the response body
1 parent 659603a commit cd57c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/notification_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func TestMultiprocessDupeOTKUpload(t *testing.T) {
463463
if cd.ResponseCode != 200 {
464464
// we rely on the homeserver checking and rejecting when the same key ID is used with
465465
// different keys.
466-
t.Errorf("/keys/upload returned an error, duplicate key upload? %+v", cd)
466+
t.Errorf("/keys/upload returned an error, duplicate key upload? %+v => %v", cd, string(cd.ResponseBody))
467467
}
468468
// tarpit the response
469469
t.Logf("tarpitting keys/upload response for 4 seconds")

0 commit comments

Comments
 (0)