mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
log less
This commit is contained in:
parent
afd64fa94e
commit
ac3a697075
@ -503,10 +503,10 @@ namespace mongo {
|
||||
free( dst );
|
||||
|
||||
if ( ! res ){
|
||||
log() << "decode failed. probably invalid utf-8 string [" << c << "]" << endl;
|
||||
tlog() << "decode failed. probably invalid utf-8 string [" << c << "]" << endl;
|
||||
jsval v;
|
||||
if ( JS_GetPendingException( _context , &v ) )
|
||||
log() << "\t why: " << toString( v ) << endl;
|
||||
tlog() << "\t why: " << toString( v ) << endl;
|
||||
throw InvalidUTF8Exception();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user