summaryrefslogtreecommitdiff
path: root/share/server/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/server/main.js')
-rw-r--r--share/server/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/server/main.js b/share/server/main.js
index bdb03c60..73fefe19 100644
--- a/share/server/main.js
+++ b/share/server/main.js
@@ -105,7 +105,8 @@ while (cmd = eval(readline())) {
throw {error: "map_runtime_error",
reason: "function raised fatal exception"};
}
- print(toJSON({log: "function raised exception (" + err + ")"}));
+ print(toJSON({log: "function raised exception (" + err
+ + ") with doc._id " + doc._id}));
buf.push("[]");
}
}