Skip to content

Commit f11f73b

Browse files
committed
BUG: adding new error string matching
1 parent ac4a629 commit f11f73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/ipac/irsa/most.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def query_object(self, catalog="wise_merge", input_mode="name_input", output_mod
537537

538538
# MOST will not raise an bad response if the query is bad because they
539539
# are not a REST API
540-
if "MOST: *** error:" in response.text:
540+
if "MOST: *** error:" in response.text or "most: error:" in response.text:
541541
raise InvalidQueryError(response.text)
542542

543543
# presume that response is HTML to simplify conditions

0 commit comments

Comments
 (0)