Skip to content

Commit

Permalink
Leaving the option to work with the metadata server only
Browse files Browse the repository at this point in the history
  • Loading branch information
seboceanum committed Jan 9, 2025
1 parent b34db24 commit b3ec743
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions oceanum/datamesh/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ def _check_info(self):
self._is_v1 = True
else:
raise DatameshConnectError("Failed to reach datamesh")
except requests.exceptions.ConnectionError:
print(f"Failed to reach datamesh gateway at address: {self._gateway}.")
print("It is likely that only the metadata server will work")
self._is_v1 = False
except Exception as e:
raise DatameshConnectError(f"Failed to reach datamesh {e}")
self._is_v1 = False
Expand Down

0 comments on commit b3ec743

Please sign in to comment.