summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-30 01:36:01 -0400
committerEliot Horowitz <eliot@10gen.com>2011-03-30 01:40:59 -0400
commita75fddc244be17b3db962d413d1566c03d74dd67 (patch)
tree0e98ba84d5e0f14190520c4440b39627bad24b53 /s
parentc48024855033ed8eef07762b17d7639fbebbef46 (diff)
downloadmongo-a75fddc244be17b3db962d413d1566c03d74dd67.tar.gz
better error message
Diffstat (limited to 's')
-rw-r--r--s/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/util.h b/s/util.h
index b3f63d85cb4..2bc89aee581 100644
--- a/s/util.h
+++ b/s/util.h
@@ -105,7 +105,7 @@ namespace mongo {
_combined = 0;
break;
default:
- assert(0);
+ massert( 13657 , str::stream() << "unknown type for ShardChunkVersion: " << elem , 0 );
}
return *this;
}