From a33bcef96241159fd0cc6704175cf5d6fdd7a5cb Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Tue, 7 Nov 2023 11:07:26 -0800 Subject: [PATCH] Use real JSONPathError exception (#3951) --- src/dispatch/entity/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/entity/service.py b/src/dispatch/entity/service.py index 51a8922ebbaf..2065689d4bbf 100644 --- a/src/dispatch/entity/service.py +++ b/src/dispatch/entity/service.py @@ -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