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 c2ba678 commit 28ba00fCopy full SHA for 28ba00f
astroquery/alma/core.py
@@ -287,6 +287,9 @@ def stage_data(self, uids):
287
timeout=self.TIMEOUT, cache=False)
288
self._staging_log['initial_response'] = response
289
log.debug("First response URL: {0}".format(response.url))
290
+ if 'login' in response.url:
291
+ raise ValueError("You must login before downloading this data set.")
292
+
293
if response.status_code == 405:
294
if hasattr(self, '_last_successful_staging_log'):
295
log.warning("Error 405 received. If you have previously staged "
0 commit comments