GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python

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

未关闭
#199 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement P3
主要语言
Python
星标
968
派生
128
PR 合并指标
30 天内没有已合并 PR

描述

According to [Retrying event-driven functions - Google Cloud Functions Documentation](https://cloud.google.com/functions/docs/bestpractices/retries):
> 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。