Include Node.js version in start-up console message

cshd
Dragory 2020-11-22 12:56:55 +02:00
parent 4a548dc261
commit c45cd2bc70
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ process.on("uncaughtException", errorHandler);
process.on("unhandledRejection", errorHandler); process.on("unhandledRejection", errorHandler);
const { getPrettyVersion } = require("./botVersion"); const { getPrettyVersion } = require("./botVersion");
console.log(`Starting Modmail ${getPrettyVersion()}`); console.log(`Starting Modmail ${getPrettyVersion()} on Node.js ${process.versions.node}`);
let testedPackage = ""; let testedPackage = "";
try { try {