[SERVER-7002] wrap the profile code with try-catch Created: 10/Sep/12  Updated: 11/Jul/16  Resolved: 09/Oct/12

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: 2.2.0
Fix Version/s: 2.3.0

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Description   

Currently, any assertion that happens while attempting to profile will terminate the server. We should probably wrap it with a try catch and handle it gracefully.



 Comments   
Comment by auto [ 09/Oct/12 ]

Author:

{u'date': u'2012-10-09T12:32:26-07:00', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}

Message: SERVER-7002 wrap the profile code with try-catch
Branch: master
https://github.com/mongodb/mongo/commit/1535908982245cb565e71da6a92fc4e81ec25922

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