Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6965

Improve parser error messages

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: PUP 5.y
    • Component/s: Language
    • Labels:
      None
    • CS Priority:
      Reviewed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Add more detail to the error messages that will allow much quicker debugging. Such as line numbers where the error occurs or suggested diagnostic flags.

      For example, received the error message:

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment pr001: Found 4 errors. Giving up in /app/puppet/environments/apps/test/pr001/manifests/params.pp on node pr.server.com

      Those four errors took several hours to track down in the very large params.pp file. Having line numbers would have made the debugging task much easier.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                tim.purkerson Tim Purkerson
                Reporter:
                tim.purkerson Tim Purkerson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: