- small fix for commit d338254bb7ee260e2be96d2345547c59adfa83ad

catch HTTPError instead of TypeError