From 49d249c15ff2d7b8fddaf7bfe86accca6f7ab307 Mon Sep 17 00:00:00 2001 From: treff7es Date: Mon, 4 Nov 2024 23:13:54 +0100 Subject: [PATCH] pr review fixes --- .../action/metadata_change_sync/metadata_change_sync.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/datahub-actions/src/datahub_actions/plugin/action/metadata_change_sync/metadata_change_sync.py b/datahub-actions/src/datahub_actions/plugin/action/metadata_change_sync/metadata_change_sync.py index c9ac78e..a670ec5 100644 --- a/datahub-actions/src/datahub_actions/plugin/action/metadata_change_sync/metadata_change_sync.py +++ b/datahub-actions/src/datahub_actions/plugin/action/metadata_change_sync/metadata_change_sync.py @@ -87,6 +87,10 @@ def act(self, event: EventEnvelope) -> None: mcp = self.buildMcp(orig_event) if mcp is not None: self.emit(mcp) + else: + logger.debug( + f"skip emitting mcp for aspect as {orig_event.get('aspectName')} or entity type {orig_event.get('entityType')} on exclude list" + ) def buildMcp( self, orig_event: MetadataChangeLogClass