Skip to content

Commit 2e09e9e

Browse files
committed
raise exception
1 parent b50dac9 commit 2e09e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/sdss/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def query_region_async(self, coordinates, *, radius=None,
315315
2.02344772021 14.8398201105 1237653651835781243 1904 301 3 163
316316
"""
317317
if radius is None and width is None:
318-
ValueError("One or the other of radius or width must be selected!")
318+
raise ValueError("One or the other of radius or width must be selected!")
319319
if radius is not None and width is not None:
320320
raise ValueError("One or the other of radius or width must be selected!")
321321

0 commit comments

Comments
 (0)