change print to logging.info(

This commit is contained in:
Yiqun Xu 2025-06-07 15:20:21 -07:00 committed by GitHub
parent 79715433c8
commit 6fa6aacb6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -728,7 +728,7 @@ class PromptServer():
except FileNotFoundError:
version = "requirements.txt not found"
except Exception as e:
print(f"Error reading version in get_workflow_templates_version: {e}")
logging.info(f"Error reading version in get_workflow_templates_version: {e}")
version = "unknown"
return web.json_response({"version": version})