-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return generic error message when function panics (#111)
* fix: return generic error message when function panics Previously, the framework returned the panic message and full stack trace in the function response body if there was a panic. Now, the framework returns a generic error message that does not leak function details in the response body, and logs the panic message and full stack trace instead.
- Loading branch information
Showing
2 changed files
with
107 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters