Skip to content

Commit

Permalink
Improve log message for aborting resuming an edit session (#165108)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Nov 1, 2022
1 parent caf921d commit 4b759b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
} else if (ref !== undefined) {
this.notificationService.warn(localize('no edit session content for ref', 'Could not resume edit session contents for ID {0}.', ref));
}
this.logService.info(`Aborting resuming edit session as no edit session content is available to be applied from ref ${ref}.`);
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`);
return;
}
const editSession = data.editSession;
Expand Down

0 comments on commit 4b759b0

Please sign in to comment.