Skip to content

Commit

Permalink
source-oracle-flashback: log failed queries
Browse files Browse the repository at this point in the history
When a query fails, log the failed query for additional diagnostic information.
  • Loading branch information
williamhbaker committed Dec 13, 2024
1 parent 9dc7388 commit 14c37fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source-oracle-flashback/source_oracle_flashback/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ async def fetch_changes(
log.info("Automatically triggering a backfill due to ORA-30052 (low retention period of redo logs has caused a gap in data)")
yield Triggers.BACKFILL
else:
log.warning("query failed", query)
raise

cols = [col[0] for col in c.description]
Expand Down

0 comments on commit 14c37fe

Please sign in to comment.