Skip to content

Commit 1c02707

Browse files
add job id to error if job status failed
Co-authored-by: ianaré <97107275+ianardee@users.noreply.github.com>
1 parent 61fd67e commit 1c02707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mindee/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def enqueue_and_parse(
352352
if poll_results.job.status == "completed":
353353
break
354354
if poll_results.job.status == "failed":
355-
raise MindeeError("Parsing failed.")
355+
raise MindeeError("Parsing failed for job {poll_results.job.id}")
356356
logger.debug(
357357
"Polling server for parsing result with job id: %s", queue_result.job.id
358358
)

0 commit comments

Comments
 (0)