Log # of fetched servers; cleanup

This commit is contained in:
Anuken
2019-11-22 16:13:09 -05:00
parent c324dce034
commit f28eb4027c
2 changed files with 5 additions and 8 deletions

View File

@@ -369,14 +369,11 @@ public class JoinDialog extends FloatingDialog{
try{
defaultServers.clear();
val.asArray().each(child -> defaultServers.add(child.getString("address", "<invalid>")));
}catch(Throwable t){
t.printStackTrace();
}
Log.info("Fetched {0} global servers.", defaultServers.size);
}catch(Throwable ignored){}
});
}catch(Throwable t){
t.printStackTrace();
}
}, Throwable::printStackTrace);
}catch(Throwable ignored){}
}, t -> {});
}
private void saveServers(){