Skip to content

Commit

Permalink
[FIX] fix error message in sendMessageReliably
Browse files Browse the repository at this point in the history
rxin

Author: Xiangrui Meng <[email protected]>

Closes apache#2120 from mengxr/sendMessageReliably and squashes the following commits:

b14400c [Xiangrui Meng] fix error message in sendMessageReliably
  • Loading branch information
mengxr authored and JoshRosen committed Aug 25, 2014
1 parent cc40a70 commit fd8ace2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ private[spark] class ConnectionManager(
messageStatuses.synchronized {
messageStatuses.remove(message.id).foreach ( s => {
promise.failure(
new IOException(s"sendMessageReliably failed because ack " +
"was not received within ${ackTimeout} sec"))
new IOException("sendMessageReliably failed because ack " +
s"was not received within $ackTimeout sec"))
})
}
}
Expand Down

0 comments on commit fd8ace2

Please sign in to comment.