Remove unnecesary s when printing unit times (#21637)

This commit is contained in:
Nafer Sanabria 2016-10-13 05:35:20 -05:00 committed by Konrad Malawski
parent b690cc049e
commit 0b9a5026a0

View file

@ -504,7 +504,7 @@ private[persistence] trait Eventsourced extends Snapshotter with PersistenceStas
case RecoveryTick(true)
try onRecoveryFailure(
new RecoveryTimedOut(s"Recovery timed out, didn't get snapshot within $timeout s"),
new RecoveryTimedOut(s"Recovery timed out, didn't get snapshot within $timeout"),
event = None)
finally context.stop(self)
@ -562,7 +562,7 @@ private[persistence] trait Eventsourced extends Snapshotter with PersistenceStas
case RecoveryTick(false) if !eventSeenInInterval
timeoutCancellable.cancel()
try onRecoveryFailure(
new RecoveryTimedOut(s"Recovery timed out, didn't get event within $timeout s, highest sequence number seen $sequenceNr"),
new RecoveryTimedOut(s"Recovery timed out, didn't get event within $timeout, highest sequence number seen $sequenceNr"),
event = None)
finally context.stop(self)
case RecoveryTick(false)