mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-03 14:23:10 +02:00
Include remaining hellos in message if error occurred.
This commit is contained in:
parent
2fdd346766
commit
bd4f6524cb
|
@ -770,7 +770,7 @@ func (c *TestClient) RunUntilJoinedAndReturn(ctx context.Context, hello ...*Hell
|
|||
for len(hellos) > 0 {
|
||||
message, err := c.RunUntilMessage(ctx)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
return nil, nil, fmt.Errorf("got error while waiting for %+v: %w", hellos, err)
|
||||
}
|
||||
|
||||
if err := checkMessageType(message, "event"); err != nil {
|
||||
|
|
Loading…
Reference in a new issue