Skip to content

Commit

Permalink
0001447: Change error message if a batch fails to transport because o…
Browse files Browse the repository at this point in the history
…f an EOF error to be more intuitive.
  • Loading branch information
chenson42 committed Oct 20, 2013
1 parent ee4384c commit ec08af8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -542,7 +542,7 @@ protected List<OutgoingBatch> extract(ProcessInfo processInfo, Node targetNode,

if (isStreamClosedByClient(e)) {
log.warn(
"Failed to extract batch {}. The stream was closed by the client. There is a good chance that a previously sent batch errored out and the stream was closed. The error was: {}",
"Failed to transport batch {}. The stream was closed by the client. There is a good chance that a previously sent batch errored out and the stream was closed or there was a network error. The error was: {}",
currentBatch, getRootMessage(e));
} else {
if (e instanceof ProtocolException) {
Expand Down

0 comments on commit ec08af8

Please sign in to comment.