LOGGER.info("Traversal returned " + rsAll.size()
+ " documents discovered in the previous batch traversal(s).");
} else {
LOGGER.info("No documents to be sent from previous batch traversal(s). Recrawling...");
try {
sharepointClient.updateGlobalState(globalState);
} catch (final Exception e) {
LOGGER.log(Level.SEVERE, "Exception while updating global state.... ", e);
} catch (final Throwable t) {
LOGGER.log(Level.SEVERE, "Error while updating global state.... ", t);
}