[GODRIVER-1131] QueryFailureError not wrapped in CommandError Created: 12/Jun/19 Updated: 28/Oct/23 Resolved: 14/Jun/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
We should be able to wrap a QueryFailureError from legacy operations into a CommandError with a message and code. |
| Comments |
| Comment by Githook User [ 14/Jun/19 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Correctly handle and convert driver.QueryFailureError Change-Id: I2cf0257a925db3b8be3ee195b93dadd0ee60fb10 |
| Comment by Divjot Arora (Inactive) [ 13/Jun/19 ] |
|
CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/458013 |