Skip to content

Commit ef3deb7

Browse files
committed
wrap err
1 parent 03931e2 commit ef3deb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/support.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (r *RootCmd) support() *clibase.Cmd {
4646
}
4747
ws, err := namedWorkspace(inv.Context(), client, inv.Args[0])
4848
if err != nil {
49-
return err
49+
return xerrors.Errorf("invalid workspace: %w", err)
5050
}
5151

5252
deps.WorkspaceID = ws.ID

0 commit comments

Comments
 (0)