Fix http error not being sent to loader