1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

[sinttest] Add fromMarkers array to exception message

This commit is contained in:
Florian Schmaus 2021-03-18 21:32:21 +01:00
parent 35cd1a8f88
commit ddf96828e4

View file

@ -16,6 +16,7 @@
*/ */
package org.igniterealtime.smack; package org.igniterealtime.smack;
import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -176,7 +177,9 @@ public class XmppConnectionStressTest {
exceptionMessage.append(i); exceptionMessage.append(i);
exceptionMessage.append("\nMessage with id ").append(stanza.getStanzaId()) exceptionMessage.append("\nMessage with id ").append(stanza.getStanzaId())
.append(" from ").append(from) .append(" from ").append(from)
.append(" to ").append(stanza.getTo()); .append(" to ").append(stanza.getTo())
.append('\n');
exceptionMessage.append("From Markers: ").append(Arrays.toString(fromMarkers)).append('\n');
Exception exception = new Exception(exceptionMessage.toString()); Exception exception = new Exception(exceptionMessage.toString());
receiveExceptions.put(connection, exception); receiveExceptions.put(connection, exception);