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

Commit 11a2eac

Browse files
committed
upgrade connection error log from warn to error
We had a connectivity issue between the client and ld-relay due to some misconfiguration. It resulted in apps not being able to connect to LaunchDarkly for a long time. It took a while to realize that the SDK actually logged a warning. It'd be nice if this was an error.
1 parent b01f593 commit 11a2eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/launchdarkly/client/StreamProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void onComment(String comment) {
185185

186186
@Override
187187
public void onError(Throwable throwable) {
188-
logger.warn("Encountered EventSource error: {}", throwable.toString());
188+
logger.error("Encountered EventSource error: {}", throwable.toString());
189189
logger.debug(throwable.toString(), throwable);
190190
}
191191
};

0 commit comments

Comments
 (0)