From a30719bd65426dac77af97d84605c802a2094fb9 Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@martin-legene.dk>
Date: Tue, 11 May 2021 17:24:54 -0300
Subject: [PATCH] Circumvent bug in failed connects.

---
 bin/monitor.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/monitor.js b/bin/monitor.js
index 38acef3..4b96f93 100755
--- a/bin/monitor.js
+++ b/bin/monitor.js
@@ -321,7 +321,8 @@ function    timer()
             netid = x;
         } )
 	.catch( err => {
-            console.log( "monitor.js waiting for geth to open socket." );
+            console.log( "monitor.js unable to connect to geth." );
+            process.exit(1);
         });
         return;
     }
-- 
GitLab