From 6ba23c27dcc646e0d3df86eb70da2078df716b28 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Tue, 7 Nov 2023 11:04:54 -0800 Subject: [PATCH] Use real JSONPathError exception --- 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