Skip to content

Commit

Permalink
Use real JSONPathError exception (#3951)
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon authored Nov 7, 2023
1 parent 7f512b6 commit a33bcef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/entity/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def _find_entities_by_regex_and_jsonpath_expression(
entity_type=entity_type,
project=signal_instance.project,
)
except jsonpath_ng.PathNotFound:
except jsonpath_ng.JSONPathError:
# field not found in signal_instance.raw
pass

Expand Down

0 comments on commit a33bcef

Please sign in to comment.