Skip to content

Commit

Permalink
fix: use logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiazlor committed Aug 9, 2024
1 parent 7c19830 commit a4d4a8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _get_client(self) -> ArgillaClient:
try:
_ = rg.Argilla(**init_kwargs).me
except ArgillaAPIError as e:
print(f"Failed to verify the Argilla instance: {str(e)}")
logger.error(f"Failed to verify the Argilla instance: {str(e)}")
return rg.Argilla(**init_kwargs)

def get_url_for_dataset(self, dataset_name: str, **kwargs: Any) -> str:
Expand Down

0 comments on commit a4d4a8a

Please sign in to comment.