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

Confusing ArgumentError exception message when using future parser

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Incomplete
    • PUP 3.5.0
    • PUP 3.7.2
    • Compiler

    Description

      The file in which the ArgumentError is raise is not noted in the error message.

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::Compiler failed with error ArgumentError: Received incomplete information - no value provided for parameter gid on node fw
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run
      

      Exception raised here: /usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb on line 170.

      I added @file and @line to the message and was able to then track down my problem. I would like to see this error message improved.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asedge Sean Edge
            Kurt Wall Kurt Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support