Added exception handling for group change exceptions so entire dynamic monitor doesn't stop.

This commit is contained in:
Jonathan Williams 2015-02-04 21:41:33 -08:00
parent f1930ed7c1
commit fabf385a57

View File

@ -258,7 +258,15 @@ public class ServerMonitor
if (serverGroup.getName().equals("Testing")) if (serverGroup.getName().equals("Testing"))
continue; continue;
handleGroupChanges(serverTracker, serverGroup, false); try
{
handleGroupChanges(serverTracker, serverGroup, false);
}
catch (Exception exception)
{
log(exception.getMessage());
log("Can't handle group changes for " + serverGroup.getName());
}
} }
int processWaits = 0; int processWaits = 0;