From ebbb84b491ae550c885bb0b6052e4885ced6cf5b Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 27 Mar 2020 17:37:19 +0000
Subject: [PATCH] Verbose-mode will now dump the JSON of the BBS entry both on
 vert.synchro.net and local, for comparison purposes. Hopefully help to get to
 the bottom of the error that Altere is seeing.

---
 exec/chksetup.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/exec/chksetup.js b/exec/chksetup.js
index 173d9dfbdf..9dca7a7efb 100644
--- a/exec/chksetup.js
+++ b/exec/chksetup.js
@@ -202,8 +202,15 @@ var tests = {
 		var bbs = list[lib.system_index(list, system.name)];
 		bbs.entry = undefined;
 		finger_obj.entry = undefined;
-		if(JSON.stringify(finger_obj) != JSON.stringify(bbs))
+		if(JSON.stringify(finger_obj) != JSON.stringify(bbs)) {
+			if(options.verbose) {
+				print(finger_host + ":");
+				print(JSON.stringify(finger_obj, null, 4));
+				print("local:");
+				print(JSON.stringify(bbs, null, 4));
+			}
 			return format("'%s' BBS entry on %s is different than local", system.name, finger_host);
+		}
 	},
 	
 	check_syncdata: function(options)
-- 
GitLab