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

Commit 358a044

Browse files
committed
fixup! Add rich error message for sh into off environment
1 parent abcf5b8 commit 358a044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/ceapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func findEnv(ctx context.Context, client *coder.Client, envName, userEmail strin
7575
}
7676

7777
return nil, clog.Fatal(
78-
"failed to execute command in environment",
78+
"failed to find environment",
7979
fmt.Sprintf("environment %q not found in %q", envName, found),
8080
"",
8181
clog.Bold("tip: ")+"view your environments with \"coder envs ls\"",

0 commit comments

Comments
 (0)