From ad9bc9eec7f4e720ecb268a363a2a781a7cbda3c Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Fri, 6 Mar 2026 16:30:47 -0800 Subject: [PATCH] fix: surface venv activation errors as warnings instead of debug logs --- internal/shared/clients.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shared/clients.go b/internal/shared/clients.go index 0d685c79..2dc43eb5 100644 --- a/internal/shared/clients.go +++ b/internal/shared/clients.go @@ -232,7 +232,7 @@ func (c *ClientFactory) InitSDKConfig(ctx context.Context, dirPath string) error // Activate Python virtual environment if present, so hook scripts // can resolve the venv's Python and installed packages. if activated, err := runtime.ActivatePythonVenvIfPresent(c.Fs, c.Os, dirPath); err != nil { - c.IO.PrintDebug(ctx, "failed to activate Python virtual environment: %s", err) + c.IO.PrintWarning(ctx, "Failed to activate Python virtual environment: %s", err) } else if activated { c.IO.PrintDebug(ctx, "Activated Python virtual environment .venv") }