Skip to content

Commit b271c5f

Browse files
authored
change log level to warn for message printed when a network error occurs during config refresh (#12)
1 parent dffe796 commit b271c5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>cloud.eppo</groupId>
88
<artifactId>eppo-server-sdk</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.1.1</version>
1010

1111
<name>${project.groupId}:${project.artifactId}</name>
1212
<description>Eppo Server-Side SDK for Java</description>

src/main/java/com/eppo/sdk/helpers/ExperimentConfigurationRequestor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public Optional<ExperimentConfigurationResponse> fetchExperimentConfiguration()
4343
throw new InvalidApiKeyException("Unauthorized: invalid Eppo API key.");
4444
}
4545
} catch (HttpTimeoutException e) { // non-fatal error
46-
log.error("Request time out while fetching experiment configurations: " + e.getMessage(), e);
46+
log.warn("Request time out while fetching experiment configurations: " + e.getMessage());
4747
} catch (InvalidApiKeyException e) {
4848
throw e;
4949
} catch (Exception e) { // fatal error that will stop the polling process

0 commit comments

Comments
 (0)