[ARTEMIS-472] add cause to AMQ222137 warning

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-472
This commit is contained in:
Jeff Mesnil 2016-04-07 10:16:38 +02:00 committed by Martyn Taylor
parent c4a092c1c8
commit ed5533ecb6
2 changed files with 2 additions and 2 deletions

View File

@ -886,7 +886,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222137, value = "Unable to announce backup, retrying", format = Message.Format.MESSAGE_FORMAT)
void errorAnnouncingBackup();
void errorAnnouncingBackup(@Cause Throwable e);
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222138, value = "Local Member is not set at on ClusterConnection {0}", format = Message.Format.MESSAGE_FORMAT)

View File

@ -259,7 +259,7 @@ public class BackupManager implements ActiveMQComponent {
return;
if (stopping)
return;
ActiveMQServerLogger.LOGGER.errorAnnouncingBackup();
ActiveMQServerLogger.LOGGER.errorAnnouncingBackup(e);
scheduledExecutor.schedule(new Runnable() {
@Override