[GODRIVER-246] Update bson.ErrTooSmall Created: 15/Feb/18 Updated: 28/Oct/23 Resolved: 22/Feb/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 0.0.1 |
| Fix Version/s: | 0.0.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | GODRIVER Alpha 2 UX |
| Description |
|
The bson.ErrTooSmall error is used in many places, including being returned from deep recursive calls. This makes it extremely difficult to track down the stack that is generating the error. Make ErrTooSmall an error type that includes a stack trace when it's generated. Then change all the places where ErrTooSmall is used to create a new ErrTooSmall that includes a stack trace. This will greatly help in debugging problems with sizing. |
| Comments |
| Comment by Samuel Rossi (Inactive) [ 22/Feb/18 ] |
|
Code review url: https://review.gerrithub.io/c/401044/ |
| Comment by Githook User [ 22/Feb/18 ] |
|
Author: {'email': 'saghmrossi@gmail.com', 'name': 'Saghm Rossi', 'username': 'saghm'}Message: Change-Id: I319c17b94791c4e8426e63c59eb31f9d4c0ec4a7 |