Added exception handling for group change exceptions so entire dynamic monitor doesn't stop.
This commit is contained in:
parent
f1930ed7c1
commit
fabf385a57
@ -258,7 +258,15 @@ public class ServerMonitor
|
||||
if (serverGroup.getName().equals("Testing"))
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user