That’s why my Python APIs never fatally crash, they just log an exception and move onto the next request.