slightly better hb message MINOR

This commit is contained in:
Kristina
2011-03-24 15:39:32 -04:00
parent 79ea0806a9
commit 73de55d3e1

View File

@@ -171,11 +171,11 @@ namespace mongo {
return const_cast<Member*>(m);
}
sethbmsg( str::stream() << "couldn't find a member matching the sync criteria: " <<
"\nstate? " << (secondaryOnly ? "2" : "none") <<
"\nname? " << (name ? name : "none") <<
"\n_id? " << id <<
"\noptime? " << optime.toStringPretty() );
sethbmsg( str::stream() << "couldn't find a member matching the sync criteria:" <<
" state? " << (secondaryOnly ? "2" : "none") <<
" name? " << (name ? name : "none") <<
" _id? " << id <<
" optime? " << optime.toStringPretty() );
return NULL;
}