[PR #426] [MERGED] improve error handling for jobs #731

Closed
opened 2026-02-16 00:18:55 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/426
Author: @logan-markewich
Created: 10/2/2024
Status: Merged
Merged: 10/2/2024
Merged by: @logan-markewich

Base: mainHead: logan/check_error


📝 Commits (1)

📊 Changes

2 files changed (+11 additions, -2 deletions)

View changed files

📝 llama_parse/base.py (+10 -1)
📝 pyproject.toml (+1 -1)

📄 Description

We weren't checking for FAILED or CANCELLED jobs, so it would just wait until the timeout and fail

We can fail much earlier if we raise an error for other states


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/426 **Author:** [@logan-markewich](https://github.com/logan-markewich) **Created:** 10/2/2024 **Status:** ✅ Merged **Merged:** 10/2/2024 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `logan/check_error` --- ### 📝 Commits (1) - [`fa545c0`](https://github.com/run-llama/llama_cloud_services/commit/fa545c0d5055703a360a61471c3c5bb85ed6a947) improve error handling ### 📊 Changes **2 files changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llama_parse/base.py` (+10 -1) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description We weren't checking for FAILED or CANCELLED jobs, so it would just wait until the timeout and fail We can fail much earlier if we raise an error for other states --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:18:55 -05:00
yindo closed this issue 2026-02-16 00:18:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#731