From 3b7f6ea4ad663b82e7cfd95ae3c65f1a32f0cb0a Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Thu, 13 Jul 2017 09:03:53 +0200 Subject: [PATCH] Fix typo in unhandled error output --- src/error-reporting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);