Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Rosendo <[email protected]>
  • Loading branch information
ttys0dev and ERosendo authored Nov 6, 2024
1 parent 6d297b6 commit d81b363
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cl/recap/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,10 @@ async def process_recap_docket(pk):
)
except Exception as e:
logging.exception(e)
await mark_pq_status(
pq, traceback.format_exc(), PROCESSING_STATUS.FAILED
await mark_pq_status(
pq,
f"We encountered a parsing error while processing this item: {e}",
PROCESSING_STATUS.FAILED,
)
return None
logger.info(f"Parsing completed of item {pq}")
Expand Down

0 comments on commit d81b363

Please sign in to comment.