[SERVER-19045] don't throw non-exceptions Created: 18/Jun/15  Updated: 05/Feb/16  Resolved: 22/Jun/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.5

Type: Bug Priority: Minor - P4
Reporter: Adam Midvidy Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: UT
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 5 06/26/16
Participants:

 Description   

    if ( ! f->good() ) {                                                                                                                                                                                       
            log() << "diagLogging couldn't open " << name << endl;                                                                                                                                                 
            // todo what is this? :                                                                                                                                                                                
            throw 1717;                                                                                                                                                                                            
        }                

           stdx::lock_guard<stdx::mutex> lk( mongoProgramOutputMutex );                                                                                                                                           
            if( mongo::dbexitCalled ) throw "program is terminating";                                                                                                                                              
            stringstream buf;                                                                                                                                                                                      
            if ( port > 0 )                                         



 Comments   
Comment by Githook User [ 22/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-19045 fix duplicate uassert code
Branch: master
https://github.com/mongodb/mongo/commit/96ca66e9fa63782864e536f0f3ea866f5e6503f5

Comment by Githook User [ 22/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-19045 don't throw non-exceptions
Branch: master
https://github.com/mongodb/mongo/commit/dfed23f6c712a0e6b49a2545595d039599d2a30c

Generated at Thu Feb 08 03:49:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.