sls | Return FAILURE status to client when internal _handle_result
fails
#309
Labels
enhancement
New feature or request
_handle_result
fails
#309
Is your feature request related to a problem? Please describe.
Client gets response with status "COMPLETED" without any response data that the handler is adding.
This message is then observed in the sls logs:
runpod-python/runpod/serverless/modules/rp_http.py
Line 54 in f6971a8
Describe the solution you'd like
Return status "FAILED" to the client when it fails to return job results. Maybe also with a message saying "internal error".
If feasible return more descriptive message on why it failed.
Additional context
Asked the client to provide the request json and upon requesting myself did not run into the issue. Response had the expected data.
The expected data is a base64 string of audio.
If the handler implementation should validate the data, in what way would the data need to be validated in order too prevent this issue?
Python 3.10.13
runpod version:
1.6.2
The text was updated successfully, but these errors were encountered: