From 0eeccfb805f73ab27f43edaf7f8108e37a39c8e9 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 14 Oct 2017 18:08:37 +0200 Subject: [PATCH] add comment --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index d0d5212..edfe258 100644 --- a/index.js +++ b/index.js @@ -20,6 +20,7 @@ const ssh = new node_ssh(); } });*/ +//captures unhandled rejections for easier debugging process.on('unhandledRejection', (reason) => { console.log('Reason: ' + reason); });