[SERVER-14946] assert.soon should not print javascript code where possible Created: 18/Aug/14 Updated: 08/Sep/14 Resolved: 20/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Matt Kangas |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Currently the code/function and the message are included in a failure. This is overkill and only the message should be included since the stack-trace includes information about the code (location). |
| Comments |
| Comment by Githook User [ 20/Aug/14 ] |
|
Author: {u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}Message: |
| Comment by Scott Hernandez (Inactive) [ 18/Aug/14 ] |
|
While this is used primarily in tests it also shows up to users via rs. and |