try {
locations = api.searchZip(query, 20, "demo");
if (locations.getStatus() != null) {
log.error(locations.getStatus().getMessage());
throw new StatusException(locations.getStatus().getMessage());
}
} catch (Throwable e) {
log.error(e.getMessage());
throw new ConnectionException(e);
}