From 88759d251143942b28e2910b52b6aab3ac3bd147 Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Thu, 7 Sep 2023 10:32:38 -0700 Subject: [PATCH] [profile remove] if package was not found, change message from error to info --- internal/impl/packages.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/impl/packages.go b/internal/impl/packages.go index 51ebb528e93..b68439f8a11 100644 --- a/internal/impl/packages.go +++ b/internal/impl/packages.go @@ -376,9 +376,8 @@ func (d *Devbox) removePackagesFromProfile(ctx context.Context, pkgs []string) e ProfileDir: profileDir, }) if err != nil { - ux.Ferror( - d.writer, - "Package %s not found in profile. Skipping.\n", + debug.Log( + "Info: Package %s not found in nix profile. Skipping removing from profile.\n", pkg.Raw, ) continue