summaryrefslogtreecommitdiff
path: root/share/server
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-06-23 20:28:35 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-06-23 20:28:35 +0000
commit309823b832568946760dc69e3ceca4008b648370 (patch)
tree02e6af6b34d46d85e176a7eeca1620a83d0e0131 /share/server
parent46fec78939b70a8fbe0d1af85a25cf50db32622e (diff)
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
Diffstat (limited to 'share/server')
-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":