-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(integrations-service): Return errors for failed integration execu…
…tions (#836) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Enhances error handling in integration executions by introducing `ExecutionError` and updating functions to return it on exceptions. > > - **Behavior**: > - `execute_integration` in `execute_integration.py` raises an exception if `integration_service_response` contains an error. > - Integration functions in `brave.py`, `browserbase.py`, `email.py`, `llama_parse.py`, `remote_browser.py`, `spider.py`, `weather.py`, and `wikipedia.py` return `ExecutionError` on exceptions. > - **Models**: > - Adds `ExecutionError` model to `execution.py` to encapsulate error messages. > - **Functions**: > - Updates return types of integration functions to include `ExecutionError` in `brave.py`, `browserbase.py`, `email.py`, `llama_parse.py`, `remote_browser.py`, `spider.py`, `weather.py`, and `wikipedia.py`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup> for 968fe53. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: HamadaSalhab <[email protected]>
- Loading branch information
1 parent
0555e91
commit 16a5a51
Showing
6 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters