Skip to content

Commit 4b759b0

Browse files
authored
Improve log message for aborting resuming an edit session (microsoft#165108)
1 parent caf921d commit 4b759b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
408408
} else if (ref !== undefined) {
409409
this.notificationService.warn(localize('no edit session content for ref', 'Could not resume edit session contents for ID {0}.', ref));
410410
}
411-
this.logService.info(`Aborting resuming edit session as no edit session content is available to be applied from ref ${ref}.`);
411+
this.logService.info(ref !== undefined ? `Aborting resuming edit session as no edit session content is available to be applied from ref ${ref}.` : `Aborting resuming edit session as no edit session content is available to be applied`);
412412
return;
413413
}
414414
const editSession = data.editSession;

0 commit comments

Comments
 (0)