Skip to content

Commit

Permalink
File-based CDK: log warning on no sync mode instead of raising except…
Browse files Browse the repository at this point in the history
…ion (#34924)
  • Loading branch information
clnoll committed Feb 6, 2024
1 parent 264043f commit be80bfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _get_sync_mode_from_catalog(self, stream: Stream) -> Optional[SyncMode]:
for catalog_stream in self.catalog.streams:
if stream.name == catalog_stream.stream.name:
return catalog_stream.sync_mode
raise RuntimeError(f"No sync mode was found for {stream.name}.")
self.logger.warning(f"No sync mode was found for {stream.name}.")
return None

def read(
Expand Down

0 comments on commit be80bfc

Please sign in to comment.