Skip to content

Commit 4fb419b

Browse files
committed
refactor(core): log Docusaurus & Node version before exiting
1 parent 443914a commit 4fb419b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/docusaurus/bin/docusaurus.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,7 @@ cli.parse(process.argv);
217217

218218
process.on('unhandledRejection', (err) => {
219219
logger.error(err instanceof Error ? err.stack : err);
220+
logger.info`Docusaurus version: number=${DOCUSAURUS_VERSION}
221+
Node version: number=${process.version}`;
220222
process.exit(1);
221223
});

0 commit comments

Comments
 (0)