Skip to content

Commit

Permalink
fix restore session error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
seeM committed Dec 18, 2024
1 parent bff9047 commit f693b0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ export class RuntimeStartupService extends Disposable implements IRuntimeStartup
await this.restoreWorkspaceSessions(sessions);
}
} catch (err) {
this._logService.error(`Could not restore workspace sessions: ${err} ` +
`(data: ${storedSessions})`);
this._logService.error(`Could not restore workspace sessions: ${err?.stack ?? err} ` +
`(data: ${JSON.stringify(storedSessions)})`);
}
}

Expand Down

0 comments on commit f693b0f

Please sign in to comment.