Skip to content
Snippets Groups Projects
Commit 746f46d5 authored by Hugh Dickinson's avatar Hugh Dickinson
Browse files

Merge branch 'esap-general#55' into 'master'

Warn when fetching basket fails

See merge request astron-sdc/esap-userprofile-python-client!5
parents 1822ae15 582104c8
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ class shopping_client: ...@@ -76,7 +76,7 @@ class shopping_client:
"shopping_cart" "shopping_cart"
] ]
else: else:
return None warn(f"Unable to load data from {self.host}; is your key valid?")
if filter_archives: if filter_archives:
self.basket = self._filter_on_archive() self.basket = self._filter_on_archive()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment