summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/MongoJS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/MongoJS.cpp b/shell/MongoJS.cpp
index 109f8ae6252..d261c02dd7e 100644
--- a/shell/MongoJS.cpp
+++ b/shell/MongoJS.cpp
@@ -324,7 +324,7 @@ Handle<Value> mongoFind(const Arguments& args){
return c;
}
catch ( ... ){
- return v8::ThrowException( v8::String::New( "socket error on insert" ) );
+ return v8::ThrowException( v8::String::New( "socket error on query" ) );
}
}