Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5398

Improve error message: point not in interval of [ -180, 180 )

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.4.0
    • Affects Version/s: 2.0.4
    • Component/s: Geo
    • Environment:
      production

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rlaferla Robert La Ferla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: