diff --git a/packages/docusaurus/bin/docusaurus.mjs b/packages/docusaurus/bin/docusaurus.mjs index 928dbe9c8f02..a9df67b31e6d 100755 --- a/packages/docusaurus/bin/docusaurus.mjs +++ b/packages/docusaurus/bin/docusaurus.mjs @@ -217,5 +217,7 @@ cli.parse(process.argv); process.on('unhandledRejection', (err) => { logger.error(err instanceof Error ? err.stack : err); + logger.info`Docusaurus version: number=${DOCUSAURUS_VERSION} +Node version: number=${process.version}`; process.exit(1); });