Skip to content

Commit 71a2d6d

Browse files
jentingroboquat
authored andcommitted
Better error message
To differentiate the error message. Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 400a66f commit 71a2d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pkg/integration/workspace.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func LaunchWorkspaceDirectly(ctx context.Context, api *ComponentAPI, opts ...Lau
182182

183183
wsm, err := api.WorkspaceManager()
184184
if err != nil {
185-
return nil, xerrors.Errorf("cannot start workspace: %q", err)
185+
return nil, xerrors.Errorf("cannot start workspace manager: %q", err)
186186
}
187187

188188
sresp, err := wsm.StartWorkspace(sctx, req)
@@ -192,7 +192,7 @@ func LaunchWorkspaceDirectly(ctx context.Context, api *ComponentAPI, opts ...Lau
192192

193193
lastStatus, err := WaitForWorkspaceStart(ctx, instanceID.String(), api, options.WaitForOpts...)
194194
if err != nil {
195-
return nil, xerrors.Errorf("cannot start workspace: %q", err)
195+
return nil, xerrors.Errorf("cannot wait for workspace start: %q", err)
196196
}
197197

198198
// it.t.Logf("workspace is running: instanceID=%s", instanceID.String())

0 commit comments

Comments
 (0)