Skip to content

Commit

Permalink
dup error code
Browse files Browse the repository at this point in the history
  • Loading branch information
gregs committed Oct 24, 2011
1 parent 3e9dfeb commit 9c848bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s/shard.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ namespace mongo {
bool ok = initShardVersionCB( *conn, result ); bool ok = initShardVersionCB( *conn, result );


// assert that we actually successfully setup sharding // assert that we actually successfully setup sharding
uassert( 15903, str::stream() << "could not initialize sharding on connection " << (*conn).toString() << uassert( 15907, str::stream() << "could not initialize sharding on connection " << (*conn).toString() <<
( result["errmsg"].type() == String ? causedBy( result["errmsg"].String() ) : ( result["errmsg"].type() == String ? causedBy( result["errmsg"].String() ) :
causedBy( (string)"unknown failure : " + result.toString() ) ), ok ); causedBy( (string)"unknown failure : " + result.toString() ) ), ok );


Expand Down

0 comments on commit 9c848bf

Please sign in to comment.