Serverless error handling is not good enough:
- If the function fails during the importing of the file rather than the function call
- if the file doesn't call the runpod.start() it just creates more workers to try to respond, instead of just crashing.
- Just in general, sometimes I've seen it rarely try to spin up 2 workers for a single request, even if I call runpod.start(); maybe something begins to hang so it tries a new worker?
But all of these, I have no way to check / capture the error easily.