Skip to content

Commit 54e37d7

Browse files
committed
fixup! refactor: Improve error handling for exception
Signed-off-by: Vincent Boutour <vincent.boutour@datadoghq.com>
1 parent 43bec96 commit 54e37d7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aws/logs_monitoring/logs/datadog_matcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ def match(self, log):
4444

4545
return True
4646

47+
except ScrubbingException as e:
48+
raise Exception(f"Failed to filter log: {e}")
49+
4750
except Exception as e:
4851
raise Exception(f"Failed to filter log: {e}")

0 commit comments

Comments
 (0)