summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/server/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/server/main.js b/share/server/main.js
index 02241649..ddf2a3af 100644
--- a/share/server/main.js
+++ b/share/server/main.js
@@ -94,10 +94,10 @@ while (cmd = eval(readline())) {
reason: "function raised fatal exception"};
}
print(toJSON({log: "function raised exception (" + err + ")"}));
- buf.push([]);
+ buf.push("[]");
}
}
- print(toJSON(buf));
+ print("[" + buf.join(", ") + "]");
break;
case "rereduce":