Skip to content

[FEATURE] Support error handling for function invocation #4

Open

Description

@tpiperatgod

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.

Activity

  1. self-assigned this
    on Aug 12, 2023
  2. added
    enhancement
    on Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions