removed try except
@@ -477,7 +477,6 @@ class OACClass(BaseQuery):
if not verbose:
commons.suppress_vo_warnings()
- try:
if response.status_code != 200:
raise AttributeError("ERROR: The web service returned error code: %s" %
response.status_code)
@@ -488,12 +487,6 @@ class OACClass(BaseQuery):
raw_output = response.text
output_response = self._format_output(raw_output)
- except AttributeError:
- raise
-
- except KeyError:
- raise
-
return output_response
