Fix typo in unhandled error output

master
Sven Slootweg 7 years ago
parent bbbf9d4fba
commit 3b7f6ea4ad

@ -10,7 +10,7 @@ module.exports = function(errorPath) {
module.exports = reportErrors(errorPath, { module.exports = reportErrors(errorPath, {
doNotCrash: true, doNotCrash: true,
handler: (error, context) => { handler: (error, context) => {
console.error("Unhandled error", error.stack); console.error("Unhandled error:", error.stack);
if (error.rateLimited !== true) { if (error.rateLimited !== true) {
process.exit(1); process.exit(1);

Loading…
Cancel
Save