-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: exception handling mechanism for AppSyncResolver #2184
Closed
1 of 2 tasks
Labels
Comments
7 tasks
7 tasks
|
This is now released under 3.4.0 version! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case
Discussed in #2170
For HTTP resolver, there are few ways to handle exception: https://awslabs.github.io/aws-lambda-powertools-python/2.14.1/core/event_handler/api_gateway/#exception-handling
But for
AppSyncResolver
, I have no idea who to handle exceptionsSolution/User Experience
Implement
@app.exception_handler(ValueError)
on theAppSyncResolver
.Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: