fixes bug 983294 - BadStatusCodeError doesn't have an error message, r=rhelmer