Don't crash on JS exceptions on WIN32 Server-550
This commit is contained in:
@@ -1405,7 +1405,7 @@ namespace mongo {
|
||||
stringstream ss;
|
||||
ss << "JS Error: " << message;
|
||||
|
||||
if ( report ){
|
||||
if ( report && report->filename ){
|
||||
ss << " " << report->filename << ":" << report->lineno;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user