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 9fcacbb commit 44464d9
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:
# ignore the table metadata fetch error
capture_exception(e)
pass
return subject, table

Expand Down

0 comments on commit 44464d9

Please sign in to comment.