mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-30 17:37:09 +02:00
refactor(core): log Docusaurus & Node version before exiting (#7781)
This commit is contained in:
parent
965a01e589
commit
1065e558d2
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue