From 90dc04145feab7158bda426a3b6d1383a9c1baa0 Mon Sep 17 00:00:00 2001 From: Madhu Chavva Date: Thu, 17 Oct 2024 16:13:02 -0700 Subject: [PATCH] Test Change --- .../com/example/demo/services/AcmeDonutsFeatureService.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jvm-spring-web/src/main/java/com/example/demo/services/AcmeDonutsFeatureService.java b/jvm-spring-web/src/main/java/com/example/demo/services/AcmeDonutsFeatureService.java index e13b0e7..d9b0a66 100644 --- a/jvm-spring-web/src/main/java/com/example/demo/services/AcmeDonutsFeatureService.java +++ b/jvm-spring-web/src/main/java/com/example/demo/services/AcmeDonutsFeatureService.java @@ -35,7 +35,7 @@ public void onRefresh(String featuresJson) { } void handleError(FeatureFetchException e) { - e.printStackTrace(); + //e.printStackTrace(); switch (e.getErrorCode()) { case NO_RESPONSE_ERROR -> { @@ -46,9 +46,7 @@ void handleError(FeatureFetchException e) { // SSE is not applicable for this service but this was added here for completion. } - case CONFIGURATION_ERROR, UNKNOWN -> { - throw new RuntimeException(e); - } + case CONFIGURATION_ERROR, UNKNOWN -> throw new RuntimeException(e); } } }