Skip to content

Commit

Permalink
chore(data-warehouse): make sure exception is passed through at workf…
Browse files Browse the repository at this point in the history
…low step (#23409)
  • Loading branch information
EDsCODE authored Jul 2, 2024
1 parent 6b31296 commit 0c176a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/temporal/data_imports/pipelines/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ def _run(self) -> dict[str, int]:
async def run(self) -> dict[str, int]:
try:
return await asyncio.to_thread(self._run)
except PipelineStepFailed:
self.logger.exception(f"Data import failed for endpoint")
except PipelineStepFailed as e:
self.logger.exception(f"Data import failed for endpoint with exception {e}", exc_info=e)
raise

0 comments on commit 0c176a5

Please sign in to comment.