Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2096

hitting /pdb/foo gives a confusing error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-11-04

      Description

      If I do this:

      curl -X GET http://localhost:8080/pdb/foo
      

      I get

      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
      <title>Error 500 </title>
      </head>
      <body>
      <h2>HTTP ERROR: 500</h2>
      <p>Problem accessing /pdb/foo. Reason:
      <pre>    Assert failed: status</pre></p>
      <hr /><i><small>Powered by Jetty://</small></i>
      </body>
      </html>
      

      If someone innocently curls /pdb/v4/reports, they'll find this confusing.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
                QA Contact:
                Kurt Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: