From 309823b832568946760dc69e3ceca4008b648370 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Mon, 23 Jun 2008 20:28:35 +0000 Subject: Follow fixes to r670732 for COUCHDB-83. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670737 13f79535-47bb-0310-9956-ffa450edef68 --- share/server/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/server') 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": -- cgit v1.2.3