Skip to content

Commit

Permalink
Code review correction
Browse files Browse the repository at this point in the history
Signed-off-by: Gael L'hopital <gael@lhopital.org>
  • Loading branch information
clinique committed Oct 24, 2021
1 parent 1968e7d commit 6e30c92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public AirQualityData getData(int stationId, String location, int retryCounter)
if (result != null && result.getStatus() == ResponseStatus.OK) {
return result.getData();
} else if (retryCounter == 0) {
logger.warn("Error in aqicn.org, retrying once");
logger.debug("Error in aqicn.org, retrying once");
return getData(stationId, location, retryCounter + 1);
}
throw new AirQualityException("Error in aqicn.org response: Missing data sub-object");
Expand Down

0 comments on commit 6e30c92

Please sign in to comment.