GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python
Inconsistency in the server response status between emulator and the deployed cloud function
Offen
enhancement
P3
- Vorherrschende Sprache
- Python
- Sterne
- 968
- Forks
- 128
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.