summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/gridfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gridfs.cpp b/client/gridfs.cpp
index 5c444296e36..a6fa30729ca 100644
--- a/client/gridfs.cpp
+++ b/client/gridfs.cpp
@@ -140,7 +140,7 @@ namespace mongo {
b.append( "n" , n );
BSONObj o = _grid->_client.findOne( _grid->_chunksNS.c_str() , b.obj() );
- assert( ! o.isEmpty() );
+ uassert( "chunk is empty!" , ! o.isEmpty() );
return Chunk(o);
}