From 3c36a0904aae2c06b89a2d19ab37f6af037845df Mon Sep 17 00:00:00 2001 From: Ivan Shcheklein Date: Tue, 9 Jan 2024 09:48:46 -0800 Subject: [PATCH] chore(logs): log bad ref to simplify debugging (#439) Minor improvement to simplify debugging. --- gto/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gto/registry.py b/gto/registry.py index 380d491b..5fd3388a 100644 --- a/gto/registry.py +++ b/gto/registry.py @@ -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 [