Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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