Skip to content

Commit

Permalink
chore: Update batch exports Postgres non retryable errors (#17630)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias authored Oct 6, 2023
1 parent 7dfab45 commit 42f926a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions posthog/temporal/workflows/postgres_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ async def run(self, inputs: PostgresBatchExportInputs):
# Raised on errors that are related to database operation.
# For example: unexpected disconnect, database or other object not found.
"OperationalError"
# The schema name provided is invalid (usually because it doesn't exist).
"InvalidSchemaName"
# Missing permissions to, e.g., insert into table.
"InsufficientPrivilege"
],
),
)
Expand Down

0 comments on commit 42f926a

Please sign in to comment.