More detailed error message

master
Robinson 2023-11-03 18:14:48 +01:00
parent 2162131b17
commit f40e8cf14d
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ internal class StreamingManager<CONNECTION : Connection>(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)