summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/v8_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/v8_utils.h')
-rw-r--r--src/mongo/scripting/v8_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/v8_utils.h b/src/mongo/scripting/v8_utils.h
index ca5d317885f..dadea6bcbd3 100644
--- a/src/mongo/scripting/v8_utils.h
+++ b/src/mongo/scripting/v8_utils.h
@@ -29,7 +29,7 @@ namespace mongo {
void ReportException(v8::TryCatch* handler);
-#define jsassert(x,msg) assert(x)
+#define jsassert(x,msg) verify(x)
std::ostream& operator<<( std::ostream &s, const v8::Handle<v8::Value> & o );
std::ostream& operator<<( std::ostream &s, const v8::Handle<v8::TryCatch> * try_catch );