Add better handling to dpaste http errors.