Skip to content

Commit

Permalink
Better error for old deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ceesem committed Jan 17, 2024
1 parent 65e7e72 commit 836dbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caveclient/l2cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def has_cache(self, datastack_name=None):
table_mapping = self.table_mapping()
except HTTPError as e:
if e.response.status_code == 404:
warn(f"Table '{table_name}' does not have a l2 cache table mapping. Assuming no cache.")
warn(f"L2cache deployment '{self.server_address}/l2cache' does not have a l2 cache table mapping. Assuming no cache.")
return False
else:
raise e
Expand Down

0 comments on commit 836dbf9

Please sign in to comment.