Skip to content
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

[FEATURE] Support error handling for function invocation #4

Open
tpiperatgod opened this issue Aug 12, 2023 · 0 comments
Open

[FEATURE] Support error handling for function invocation #4

tpiperatgod opened this issue Aug 12, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tpiperatgod
Copy link
Member

Currently, ff-python cannot handle errors during function calls, such as the following code:

def user_function(context: UserContext):
    print(1 / 0)

the return will be:

500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
@tpiperatgod tpiperatgod self-assigned this Aug 12, 2023
@tpiperatgod tpiperatgod added the enhancement New feature or request label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant