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

Improve errorcodes.py so it captures multiline messages

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.6, 2.7.3
    • None
    • Diagnostics
    • Fully Compatible
    • Server 2.7.3

    Description

      The output of buildscripts/errorcodes.py currently contains a large number of missing or truncated messages. At least 400 are visible here:

      http://docs.10gen.cc/kernel/master/errors.html

      Not being able to see these messages in the errors.md output prevents us from providing a full audit as requested in DOCS-1519, and makes it difficult to improve our messages.

      Many of these missing messages are caused by errorcodes.py naively walking the source files line-by-line, without lookahead. Let's fix this.

      Attachments

        Activity

          People

            matt.kangas Matt Kangas
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: