Improve logging of TbMsgGeneratorNode
This commit is contained in:
parent
b96d3d02ac
commit
323a47a744
@ -118,7 +118,7 @@ public class TbMsgGeneratorNode implements TbNode {
|
||||
}
|
||||
},
|
||||
t -> {
|
||||
log.warn("onMsg onFailure callback, took {}ms, config {}, msg {}, exception {}", sw.stopAndGetTotalTimeMillis(), config, msg, t);
|
||||
log.trace("onMsg onFailure callback, took {}ms, config {}, msg {}", sw.stopAndGetTotalTimeMillis(), config, msg, t);
|
||||
if (initialized.get() && (config.getMsgCount() == TbMsgGeneratorNodeConfiguration.UNLIMITED_MSG_COUNT || currentMsgCount < config.getMsgCount())) {
|
||||
ctx.tellFailure(msg, t);
|
||||
scheduleTickMsg(ctx);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user