Skip to content

Commit

Permalink
remove index error suppression on required config key
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed Oct 18, 2024
1 parent 9087d61 commit deee27d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tap_linkedin_ads/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,8 +1434,7 @@ def post_process(self, row: dict, context: dict | None = None) -> dict | None:
"%Y-%m-%d",
).astimezone(UTC)

with contextlib.suppress(IndexError):
row["creative_id"] = self.config["creative"]
row["creative_id"] = self.config["creative"]

viral_registrations = row.pop("viralRegistrations", None)
if viral_registrations:
Expand Down

0 comments on commit deee27d

Please sign in to comment.