Hi,
Context is pretty big and lead to an enormous log for this code which will be truncated in some tooling:
String msg = msg("Exception caught in user function running stage, registering WC as failed, returning to" +
" mailbox. Context: {}", context, e);
if (cause instanceof PCRetriableException) {
log.debug("Explicit " + PCRetriableException.class.getSimpleName() + " caught, logging at DEBUG only. " + msg, e);
} else {
log.error(msg, e);
}
I would be nice to have a
smaller toString for the context
Regards
Benoit
Hi,
Context is pretty big and lead to an enormous log for this code which will be truncated in some tooling:
I would be nice to have a
smaller toString for the context
Regards
Benoit