mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-11 16:13:10 -06:00
Log events as string that are found when the dendrite-upgrade-tests fail to aid debugging
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
e1ce3f0458
commit
b04b637d66
|
|
@ -191,7 +191,7 @@ func verifyTestsRan(baseURL string, branchNames []string) error {
|
|||
wantMsgCount := len(branchNames) * 4
|
||||
if msgCount != wantMsgCount {
|
||||
msgArrayJSON, _ := json.Marshal(msgArray)
|
||||
return fmt.Errorf("got %d messages in global room, want %d msgArray %v", msgCount, wantMsgCount, msgArrayJSON)
|
||||
return fmt.Errorf("got %d messages in global room, want %d msgArray %v", msgCount, wantMsgCount, string(msgArrayJSON))
|
||||
}
|
||||
log.Println(" messages exist: OK")
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue