platform-messaging debug log++
This commit is contained in:
parent
86b9bd095f
commit
5c3cc9265e
1 changed files with 3 additions and 0 deletions
|
|
@ -112,6 +112,9 @@ public class QueueConsumer implements AutoCloseable {
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
log.error("Listener {} last topic \"{}\", error: {}",
|
log.error("Listener {} last topic \"{}\", error: {}",
|
||||||
QueueConsumer.this.getClass().getName(), lastTopic, ExceptionUtils.getStackTrace(e));
|
QueueConsumer.this.getClass().getName(), lastTopic, ExceptionUtils.getStackTrace(e));
|
||||||
|
if (lastTopic == null) {
|
||||||
|
log.debug("main thread stacktrace: {}", ExceptionUtils.getStackTrace(debugCallerStacktrace));
|
||||||
|
}
|
||||||
if (producer != null && o != null) {
|
if (producer != null && o != null) {
|
||||||
sendErrorResponse((BaseRequest<?>) o, correlationId);
|
sendErrorResponse((BaseRequest<?>) o, correlationId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue