Skip to content

Commit

Permalink
handle generic Exception
Browse files Browse the repository at this point in the history
Signed-off-by: Surya Sashank Nistala <[email protected]>
  • Loading branch information
eirsep committed Oct 8, 2024
1 parent e0c0de7 commit 1c80f42
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,8 @@ public void onResponse(Map<String, String> fieldMappings) {
rule
);
indexRule(ruleDoc, fieldMappings);
} catch (IOException | SigmaError e) {
onFailures(e);
} catch (Exception e) {
//TODO change to catching only DocIdAlreadyExistsException
onFailures(e);
}
}

Expand Down

0 comments on commit 1c80f42

Please sign in to comment.