GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python

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

オープン
#199 コメント 0 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。