More detailed error message
This commit is contained in:
parent
2162131b17
commit
f40e8cf14d
|
@ -387,7 +387,7 @@ internal class StreamingManager<CONNECTION : Connection>(private val logger: Log
|
||||||
val startSent = endPoint.writeUnsafe(startMessage, publication, sendIdleStrategy, connection, kryo)
|
val startSent = endPoint.writeUnsafe(startMessage, publication, sendIdleStrategy, connection, kryo)
|
||||||
if (!startSent) {
|
if (!startSent) {
|
||||||
// more critical error sending the message. we shouldn't retry or anything.
|
// 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!
|
// either client or server. No other choices. We create an exception, because it's more useful!
|
||||||
val exception = endPoint.newException(errorMessage)
|
val exception = endPoint.newException(errorMessage)
|
||||||
|
|
Loading…
Reference in New Issue