Skip to content

Inconsistency in the server response status between emulator and the deployed cloud function #199

Open
@ShafinKhadem

Description

@ShafinKhadem

According to Retrying event-driven functions - Google Cloud Functions Documentation:

When retries are not enabled for a function, which is the default, the function always reports that it executed successfully, and returns 200 OK response. This occurs even if the function encountered an error.

There's no way to replicate this behavior locally. Please add a CLI flag like --no-error which would replicate this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions