Skip to content

[FEATURE] Support error handling for function invocation #4

Open
@tpiperatgod

Description

@tpiperatgod
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @tpiperatgod

      Issue actions

        [FEATURE] Support error handling for function invocation · Issue #4 · OpenFunction/functions-framework-python