Skip to content
Snippets Groups Projects
Verified Commit a5f21ec6 authored by Andrei Mondoc's avatar Andrei Mondoc Committed by Kevin Cristiano
Browse files

assign error, don't return it from catch block


Always format the result!
If we call the 'rest' endpoint without json param
we are getting the error in json format
instead of the expected xml format.

Signed-off-by: default avatarKevin Cristiano <kcristiano@kcristiano.com>
parent 7a83f5b8
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment