jaydenden
RRunPod
•Created by jaydenden on 8/27/2024 in #⚡|serverless
Error Handling for Synchronous + webhook & Asynchronous Endpoint
1. Synchronous, using webhook
For example, when input validation fails, is that error sent via webhook, or is it immediately responded to as output?
2. Asynchronous
If an error occurs before performing a long-running task, can we send that error as an immediate response? It seems like there's something like return_aggregate_stream, but I'm not sure how to receive that response. Should we do a GET /run? Or does the yielded result come directly as a response to POST /run?
1 replies