[SERVER-5398] Improve error message: point not in interval of [ -180, 180 ) Created: 25/Mar/12 Updated: 11/Jul/16 Resolved: 18/Apr/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.0.4 |
| Fix Version/s: | 2.4.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert La Ferla | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
production |
||
| Participants: |
| Description |
|
ensureIndex() can display the error message: point not in interval of [ -180, 180 ) The problem is that this error is vague and not very useful. It would be better if it dumped the offending record (or id) so we can fix the problem. Otherwise, we have to spend a lot of time tracking down which record is the culprit. Specifying --verbose does not improve this error message either. |
| Comments |
| Comment by Greg Studer [ 18/Apr/14 ] |
|
Fixed at least as of v2.4. |