[PDB-2405] (maint) Don't 500 on malformed AST queries Created: 2016/02/08  Updated: 2016/04/04  Resolved: 2016/02/22

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: None
Fix Version/s: PDB 4.0.0

Type: Bug Priority: Normal
Reporter: gepetto-bot Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Story Points: 1
Sprint: PuppetDB 2016-02-10, PuppetDB 2016-02-24

 Description   

This commit fixes an issue where PuppetDB was return HTTP 500 responses
for requests with malformed JSON in an AST query because our middleware
only catches IllegalArguementExceptions.


Generated at Tue Jun 25 08:40:54 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.