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 摘要。