From c2504bdd04b27db316af1cadec984f77431a223a Mon Sep 17 00:00:00 2001 From: Kayla Man <64118225+moonyuet@users.noreply.github.com> Date: Thu, 30 May 2024 16:06:51 +0800 Subject: [PATCH] Update client/ayon_core/pipeline/context_tools.py Co-authored-by: Roy Nieterau --- client/ayon_core/pipeline/context_tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/pipeline/context_tools.py b/client/ayon_core/pipeline/context_tools.py index d92c43da04..f47c1f12f0 100644 --- a/client/ayon_core/pipeline/context_tools.py +++ b/client/ayon_core/pipeline/context_tools.py @@ -587,7 +587,9 @@ def version_up_workfile(): host = registered_host() current_file = host.get_current_workfile() if not current_file: - log.debug("Current file not found.") + log.debug( + "Current file is unsaved and can't be versioned up. " + "Please save your file first.") return None filepath = version_up(current_file) host.save_workfile(filepath)