This closes #442

This commit is contained in:
Martyn Taylor 2016-04-08 13:16:15 +01:00
commit 2f0ecb3065
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) @LogMessage(level = Logger.Level.WARN)
@Message(id = 222137, value = "Unable to announce backup, retrying", format = Message.Format.MESSAGE_FORMAT) @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) @LogMessage(level = Logger.Level.WARN)
@Message(id = 222138, value = "Local Member is not set at on ClusterConnection {0}", format = Message.Format.MESSAGE_FORMAT) @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; return;
if (stopping) if (stopping)
return; return;
ActiveMQServerLogger.LOGGER.errorAnnouncingBackup(); ActiveMQServerLogger.LOGGER.errorAnnouncingBackup(e);
scheduledExecutor.schedule(new Runnable() { scheduledExecutor.schedule(new Runnable() {
@Override @Override