Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit d9cbba1

Browse files
committed
Improve handling of coder envs stop errors
1 parent 22ae5cb commit d9cbba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/envs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ coder envs --user charlie@coder.com ls -o json \
9595
egroup.Go(func() error {
9696
env, err := findEnv(cmd.Context(), client, envName, *user)
9797
if err != nil {
98-
flog.Error("failed to find environment by name \"%s\": %v", env.Name, err)
98+
flog.Error("failed to find environment by name \"%s\": %v", envName, err)
9999
return xerrors.Errorf("find environment by name: %w", err)
100100
}
101101

0 commit comments

Comments
 (0)