Skip to content

Commit

Permalink
fix: add proper error logs incase feature flag evaluation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sumandas0 committed May 6, 2024
1 parent 71b757f commit 5f89496
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ public static String getESIndex() {
if (FeatureFlagStore.evaluate("use_temp_es_index", "true")) {
indexSuffix = "_temp";
}
} catch (Exception ignored) {
} catch (Exception e) {
LOG.error("Failed to evaluate feature flag with error", e);
}
}
return indexSuffix == null ? VERTEX_INDEX_NAME : VERTEX_INDEX_NAME + indexSuffix;
Expand Down

0 comments on commit 5f89496

Please sign in to comment.