Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from launchdarkly/country-codes
Browse files Browse the repository at this point in the history
Country codes
  • Loading branch information
jkodumal committed Oct 15, 2014
2 parents 076411c + 7ca6b4d commit 890d78f
Show file tree
Hide file tree
Showing 6 changed files with 2,775 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/launchdarkly/client/EventProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private void postEvents(List<Event> events) {

if (status != HttpStatus.SC_OK) {
if (status == HttpStatus.SC_UNAUTHORIZED) {
logger.info("Invalid API key");
logger.error("Invalid API key");
} else {
logger.error("Unexpected status code: " + status);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/launchdarkly/client/LDClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public boolean getFlag(String featureKey, LDUser user, boolean defaultValue) {

if (status != HttpStatus.SC_OK) {
if (status == HttpStatus.SC_UNAUTHORIZED) {
logger.info("Invalid API key");
logger.error("Invalid API key");
} else if (status == HttpStatus.SC_NOT_FOUND) {
logger.error("Unknown feature key: " + featureKey);
} else {
Expand Down
Loading

0 comments on commit 890d78f

Please sign in to comment.