diff options
-rw-r--r-- | src/mongo/shell/assert.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/shell/assert.js b/src/mongo/shell/assert.js index ff168bd865d..87fe3232814 100644 --- a/src/mongo/shell/assert.js +++ b/src/mongo/shell/assert.js @@ -8,9 +8,9 @@ doassert = function(msg, obj) { if (jsTest.options().traceExceptions) { if (typeof (msg) == "string" && msg.indexOf("assert") == 0) - print(msg); + print(new Date().toISOString() + " " + msg); else - print("assert: " + msg); + print(new Date().toISOString() + " assert: " + msg); } var ex; |