Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
To differentiate the error message.

Signed-off-by: JenTing Hsiao <[email protected]>
  • Loading branch information
jenting committed Apr 26, 2022
1 parent fc3595c commit 8863f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pkg/integration/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func LaunchWorkspaceDirectly(ctx context.Context, api *ComponentAPI, opts ...Lau

wsm, err := api.WorkspaceManager()
if err != nil {
return nil, xerrors.Errorf("cannot start workspace: %q", err)
return nil, xerrors.Errorf("cannot start workspace manager: %q", err)
}

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

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

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

0 comments on commit 8863f97

Please sign in to comment.