From 850231c176df2b073360e22e36c38808e0b212f3 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 10 Aug 2017 17:03:32 +0200
Subject: [PATCH] [fix] In case of crash, display the error

---
 run.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/run.js b/run.js
index f0416e7..f7222a7 100644
--- a/run.js
+++ b/run.js
@@ -10,6 +10,7 @@ if (process.argv.length === 2) {
 process.on('uncaughtException', (err) => {
   // Dunno why this specific exception is not caught
   if (err.code !== "EADDRNOTAVAIL" && err.code !== "EINVAL" && err.code !== "ENOENT") {
+    console.error(err)
     process.exit(2);
   }
 })
-- 
GitLab