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:
parent
35cd1a8f88
commit
ddf96828e4
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue