⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Foreman
All Projects
Overview
Activity
Roadmap
Issues
Wiki
Repository
«
Previous
|
Next
»
Revision b18c3a35
Added by
Ohad Levy
over 10 years
ago
ID
b18c3a35f7101a4abac2166fafc4d0fd75e283e2
Parent
47b19af1
Child
8c618ae8
fixes
#3587
,
#2855
- print an error on invalid json vs 500 error
Related issues
Bug #2855
: API authentication controller does not fail gracefully
Bug #3587
: invalid JSON returns 500 server error
Changes
View differences
added
modified
copied
renamed
deleted
app
controllers
api
base_controller.rb
(
diff
)
config
application.rb
(
diff
)
lib
middleware
catch_json_parse_errors.rb
test
lib
middleware
catch_json_parse_errors_test.rb
Loading...
fixes #3587, #2855 - print an error on invalid json vs 500 error