[SERVER-17937] Remove the 'exception: ' prefix to errors returned from command processing Created: 08/Apr/15  Updated: 19/Sep/15  Resolved: 09/Apr/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.1.2

Type: Bug Priority: Trivial - P5
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Operating System: ALL
Sprint: Sharding 2 04/24/15
Participants:

 Description   

Currently, all error messages ('errmsg' field) caused by uncaught user exceptions (uassert) are prefixed with "exception: ", which is unnecessary and is inconsistent with uncaught exceptions returned from write commands for example.

We should just remove the 'exception: ' prefix.



 Comments   
Comment by Githook User [ 09/Apr/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-17937 Remove 'exception: ' prefix returned from command processing
Branch: master
https://github.com/mongodb/mongo/commit/7ebfaed4ab9c77acc9cabd75d5c95f0c795b2263

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