Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4501

Use config_parse_error to propagate remap.config errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Configuration, Remap API
    • None

    Description

      In RemapConfig.cc there is a fairly complex game of formatting error messages into output buffers. We can simplify all this by using the config_parse_error class to carry both a status and an error message.

      We should add a SourceLocation field to config_parse_error as well to we can propagate the line that the error occurred on.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: