-
Notifications
You must be signed in to change notification settings - Fork 1
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
Try/catch on invoke does not work #10
Comments
@thedevtoni can you please take a look? AI generated a PR but I cannot open it because I am not a collaborator. |
Hey @RubenMateus, this week we are realising the new SDK's which should improve this type of things, I will keep you posted once it's publish. I'm gonna publish an article of the braking changes because there may some. |
Thats great to ear. When can we expect this changes to come? |
@RubenMateus next week, we currently have the version of the SDK in canary release, should be live in the our next release. |
Hello, i have been using the Orq.Ai SDK for a week now and it seems that try/catch the invoke method is not working properly.
Even if I try/catch the invoke method it's not caught by it.
I think I have found the issue for that.
In the function called:
handleRequestError
is marked asasync
but it is not awaited when you call it. Even so, I don't think this function should be marked asasync
.Am I missing something here?
The text was updated successfully, but these errors were encountered: