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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.4.0
    • Component/s: Geo
    • Labels:
    • Environment:
      production

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: