-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: throwOnError and error message more descriptive #838
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey @himanshu-dixit, here are examples of how you can ask me to improve this pull request: @Sweep Fix the CI errors. @Sweep Add unit tests for the `BackendClient` class in `backendClient.ts` to verify the new `throwOnError: true` configuration, ensuring that errors are properly thrown when API requests fail. 📖 For more information on how to use Sweep, please read our documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to f560e9f in 48 seconds
More details
- Looked at
105
lines of code in5
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. js/src/sdk/index.ts:47
- Draft comment:
The error codeERROR.COMMON.API_KEY_UNAVAILABLE
should be updated toERROR.COMMON.API_KEY_INVALID
to match the changes in theERROR
object. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_DllmEbZC6or2ztYJ
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
This comment was generated by github-actions[bot]! JS SDK Coverage Report📊 Coverage report for JS SDK can be found at the following URL: 📁 Test report folder can be found at the following URL: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on a152201 in 30 seconds
More details
- Looked at
57
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_53y4i4yv8gxVibwS
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Incremental review on 5433cbe in 47 seconds
More details
- Looked at
153
lines of code in4
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_DG8gyHOjycFILdCj
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 24056d1 in 19 seconds
More details
- Looked at
22
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. python/composio/cli/add.py:94
- Draft comment:
Typo fix: Corrected 'lables' to 'labels'. Ensure similar typos are corrected elsewhere if present. - Reason this comment was not posted:
Confidence changes required:10%
The PR description mentions a change from 'lables' to 'labels', which is a typo fix. This change is correctly implemented in the code.
Workflow ID: wflow_5ZaZQEJPTBUWTOOw
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Enhance error handling and logging in the SDK by adding
throwOnError
inBackendClient
, improving error messages, and logging API key usage.throwOnError: true
inBackendClient
configuration inbackendClient.ts
.API_KEY_UNAVAILABLE
toAPI_KEY_INVALID
inerror.ts
.CEG.handleError()
inerror.ts
.Composio
constructor inindex.ts
.package.json
from0.2.8-4
to0.2.9-3
.base.toolset.ts
andindex.ts
.This description was created by for 24056d1. It will automatically update as commits are pushed.