Skip to content

Commit f3a2dff

Browse files
authored
fix: add jobId in json output (#1317)
1 parent db71ff7 commit f3a2dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/org/create/scratch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ export default class OrgCreateScratch extends SfCommand<ScratchCreateResponse> {
238238
if (error instanceof SfError && error.name === 'ScratchOrgInfoTimeoutError') {
239239
const scratchOrgInfoId = (error.data as { scratchOrgInfoId: string }).scratchOrgInfoId;
240240
const resumeMessage = messages.getMessage('action.resume', [this.config.bin, scratchOrgInfoId]);
241+
const timeOutMessage = 'The scratch org did not complete within your wait time.';
241242

242-
this.info(resumeMessage);
243-
this.error('The scratch org did not complete within your wait time', { code: '69', exit: 69 });
243+
this.error(`${timeOutMessage} ${resumeMessage}`, { code: '69', exit: 69 });
244244
} else {
245245
throw error;
246246
}

0 commit comments

Comments
 (0)