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 49169b7 commit 39987b4Copy full SHA for 39987b4
astroquery/simbad/core.py
@@ -19,7 +19,7 @@
19
20
from astroquery.query import BaseQuery
21
from astroquery.utils import commons, async_to_sync
22
-from astroquery.exceptions import TableParseError, LargeQueryWarning
+from astroquery.exceptions import TableParseError, LargeQueryWarning, BadRowWarning
23
from . import conf
24
25
@@ -135,7 +135,9 @@ def __warn(self):
135
warnings.warn("Warning: The script line number %i raised "
136
"an error (recorded in the `errors` attribute "
137
"of the result table): %s" %
138
- (error.line, error.msg))
+ (error.line, error.msg),
139
+ BadRowWarning
140
+ )
141
142
def __get_section(self, section_name):
143
if section_name in self.__indexes:
0 commit comments