We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b887f73 commit 15043f8Copy full SHA for 15043f8
astroquery/eso/core.py
@@ -256,8 +256,7 @@ def message(query_str):
256
except DALFormatError as e:
257
raise DALFormatError(message(query_str) + f"cause: {e.cause}") from e
258
except Exception as e:
259
- raise RuntimeError(
260
- f"Unhandled exception {type(e)}\n" + message(query_str)) from e
+ raise type(e)(f"{e}\n" + message(query_str)) from e
261
262
return table_to_return
263
0 commit comments