From f40e8cf14d07cc5523692d1b6f48dee5761a834b Mon Sep 17 00:00:00 2001 From: Robinson Date: Fri, 3 Nov 2023 18:14:48 +0100 Subject: [PATCH] More detailed error message --- src/dorkbox/network/connection/streaming/StreamingManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/network/connection/streaming/StreamingManager.kt b/src/dorkbox/network/connection/streaming/StreamingManager.kt index 92df6157..6c667bc8 100644 --- a/src/dorkbox/network/connection/streaming/StreamingManager.kt +++ b/src/dorkbox/network/connection/streaming/StreamingManager.kt @@ -387,7 +387,7 @@ internal class StreamingManager(private val logger: Log val startSent = endPoint.writeUnsafe(startMessage, publication, sendIdleStrategy, connection, kryo) if (!startSent) { // more critical error sending the message. we shouldn't retry or anything. - val errorMessage = "[${publication.sessionId()}] Error starting streaming content." + val errorMessage = "[${publication.sessionId()}] Error starting streaming content (could not send data)." // either client or server. No other choices. We create an exception, because it's more useful! val exception = endPoint.newException(errorMessage)