File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/main/java/com/eppo/sdk/helpers Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >cloud.eppo</groupId >
8
8
<artifactId >eppo-server-sdk</artifactId >
9
- <version >1.1.1 </version >
9
+ <version >1.1.2 </version >
10
10
11
11
<name >${project.groupId} :${project.artifactId} </name >
12
12
<description >Eppo Server-Side SDK for Java</description >
Original file line number Diff line number Diff line change @@ -42,12 +42,10 @@ public Optional<ExperimentConfigurationResponse> fetchExperimentConfiguration()
42
42
if (statusCode == 401 ) { // unauthorized - invalid API key
43
43
throw new InvalidApiKeyException ("Unauthorized: invalid Eppo API key." );
44
44
}
45
- } catch (HttpTimeoutException e ) { // non-fatal error
46
- log .warn ("Request time out while fetching experiment configurations: " + e .getMessage ());
47
45
} catch (InvalidApiKeyException e ) {
48
46
throw e ;
49
- } catch (Exception e ) { // fatal error that will stop the polling process
50
- throw new NetworkException ("Unable to Fetch Experiment Configuration: " + e .getMessage ());
47
+ } catch (Exception e ) {
48
+ log . warn ("Unable to Fetch Experiment Configuration: " + e .getMessage ());
51
49
}
52
50
53
51
return Optional .ofNullable (config );
You can’t perform that action at this time.
0 commit comments