Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit a8768797 authored by Rob Swindell's avatar Rob Swindell 💬

If finger doesn't return a valid JSON object, log the returned string(s)

... instead of the JSON parse exception as reported via IRC:
<matjam> !finger ?bbs:Stupendous BBS@vert.synchro.net result: SyntaxError: JSON.parse
parent faac4653
......@@ -219,7 +219,7 @@ var tests = {
try {
finger_obj = JSON.parse(finger_result.join(''));
} catch(e) {
return 'finger ' + finger_query + '@' + finger_host + ' result: ' + e;
return finger_result.join('');
}
var bbs = list[lib.system_index(list, system.name)];
bbs.entry = undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment