Skip to content

Commit 12ab349

Browse files
author
Alex Reedy
committed
removing print
1 parent 8dd81d2 commit 12ab349

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

astroquery/mast/observations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,8 @@ def read_product(self, product_path, read_as="auto", ignore_unrecognized=False):
12641264
except Exception as e:
12651265
log.exception(f"Failed to open ASD File: {product_path} {e}")
12661266
else:
1267-
print("Unsupported extension type")
1267+
log.error("Unsupported extension type")
1268+
return
12681269

12691270

12701271
@async_to_sync

0 commit comments

Comments
 (0)