[SERVER-10724] Audit unhandled exception code Created: 10/Sep/13  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code, Logging
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Daniel Pasette (Inactive) Assignee: Backlog - Security Team
Resolution: Unresolved Votes: 0
Labels: move-sec
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 Description   

There are a few instances where std::exception could be caught and logged rather than just catching unhandled exceptions.

cd src/mongo
git grep 'catch.*\.\.\.'

See, for instance: https://github.com/mongodb/mongo/blob/r2.5.2/src/mongo/db/repl/heartbeat.cpp#L289-L291



 Comments   
Comment by auto [ 10/Sep/13 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-10724 better exception handling in health poll
Branch: v2.4
https://github.com/mongodb/mongo/commit/69a76cca7ea6336eed04c1c5d563a0d381176774

Comment by auto [ 10/Sep/13 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-10724 better exception handling in health poll
Branch: master
https://github.com/mongodb/mongo/commit/5532f53fe8ebe11ab5f90c00b46eed8504e34d73

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