diff options
author | Jim Hahn <jrh3@att.com> | 2019-08-23 18:35:40 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-08-23 18:46:14 -0400 |
commit | e7fbfd23ef9a03951935509856d3b4d33e5da546 (patch) | |
tree | 46acb34764d6eed44ce455b1e25b496331f03ff2 /utils | |
parent | cf0cd76d63f9eba680a6307dd4a708e7169cb403 (diff) |
Rest servers should return 400 for bad syntax JSON
Modified common RestServer to inject an exception handler
into the list of providers so that it returns 400 instead
of 500 for JSON parsing errors.
Change-Id: I7c77625e3531e26413d72cc386296a709946cda2
Issue-ID: POLICY-1725
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions