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

Improve errorcodes.py so it captures multiline messages

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.6, 2.7.3
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:
    • Fully Compatible
    • Server 2.7.3

      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.

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

              Created:
              Updated:
              Resolved: