[ARTEMIS-472] add cause to AMQ222137 warning
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-472
This commit is contained in:
parent
c4a092c1c8
commit
ed5533ecb6
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue