Capture all exceptions and return an error in the form of a JobResponse
#21
Labels
enhancement
New feature or request
JobResponse
#21
When an exception is thrown from a resource dropwizard returns a JSON message with a
code
andmessage
field. However, this is inconsistent with the/job/run
endpoint's interface which hasjobRun
,result
, etc. We should capture all exceptions and return them with the same format regardless of it it's an error or not.The text was updated successfully, but these errors were encountered: