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

XMLWordPrintableJSON

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

      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
            Reporter:
            Robert La Ferla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: