Skip to content

Commit 3195ba2

Browse files
frafrataheeraahmed
authored andcommitted
fix(pit_registrering_salmon): do not fail when no data is found
1 parent 6587901 commit 3195ba2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/datasync/pit_registering_salmon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ def replicate(
505505
log.warning("--environment flag is set, but table has no data, skipping")
506506

507507
if not stream_configs:
508-
log.error("No tables with data found to replicate")
509-
raise typer.Exit(1)
508+
log.warning("No tables with data found to replicate, skipping")
509+
return
510510

511511
streams = {}
512512
for data_type, config in stream_configs.items():

0 commit comments

Comments
 (0)