diff --git a/src/error-reporting.js b/src/error-reporting.js index fb08b1c..5266505 100644 --- a/src/error-reporting.js +++ b/src/error-reporting.js @@ -4,13 +4,13 @@ const path = require("path"); const reportErrors = require("report-errors"); const mkdirp = require("mkdirp"); -module.exports = function(errorPath) { +module.exports = function(errorPath) { mkdirp.sync(errorPath); module.exports = reportErrors(errorPath, { doNotCrash: true, handler: (error, context) => { - console.error("Unhandled error", error.stack); + console.error("Unhandled error:", error.stack); if (error.rateLimited !== true) { process.exit(1);