This commit is contained in:
Dwight
2010-06-16 17:00:20 -04:00
parent c5a241e6d9
commit aa908fe994

View File

@@ -233,7 +233,7 @@ namespace mongo {
void writeMongoProgramOutputLine( int port, int pid, const char *line ) {
mongo::mutex::scoped_lock lk( mongoProgramOutputMutex );
if( mongo::goingAway ) throw std::exception("program is terminating");
if( mongo::goingAway ) throw "program is terminating";
stringstream buf;
if ( port > 0 )
buf << "m" << port << "| " << line;