Skip to content

Commit

Permalink
chore(logs): log bad ref to simplify debugging (#439)
Browse files Browse the repository at this point in the history
Minor improvement to simplify debugging.
  • Loading branch information
shcheklein authored Jan 9, 2024
1 parent a4e5399 commit 3c36a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gto/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def check_ref(self, ref: str) -> List[BaseEvent]:
except InvalidTagName:
pass
if not name:
logging.info("Provided ref doesn't exist or it is not of GTO format")
logging.info(f"Ref '{ref}' doesn't exist or it is not of GTO format")
return []
state = self.get_state()
return [
Expand Down

0 comments on commit 3c36a09

Please sign in to comment.