Skip to content

Commit 1065e55

Browse files
authoredJul 14, 2022
refactor(core): log Docusaurus & Node version before exiting (#7781)
1 parent 965a01e commit 1065e55

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)
Please sign in to comment.