Skip to content

Commit

Permalink
stop sending report when no-such-table
Browse files Browse the repository at this point in the history
Signed-off-by: Ching Yi, Chan <[email protected]>
  • Loading branch information
qrtt1 committed Oct 5, 2023
1 parent 893b28a commit 1599492
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions piperider_cli/profiler/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ def _fetch_table_task(subject: ProfileSubject):
table = None
try:
table = Table(subject.table, MetaData(), autoload_with=engine, schema=schema)
except Exception as e:
except Exception:

Check warning on line 166 in piperider_cli/profiler/profiler.py

View check run for this annotation

Codecov / codecov/patch

piperider_cli/profiler/profiler.py#L166

Added line #L166 was not covered by tests
# ignore the table metadata fetch error
capture_exception(e)
pass
return subject, table

Expand Down

0 comments on commit 1599492

Please sign in to comment.