Better HTTPException Handling