RED-7962 Fix error 500 for rule download endpoints. #235

Merged
kresnadi.budisantoso merged 1 commits from RED-7962 into master 2023-11-29 17:32:21 +01:00

1 Commits

Author SHA1 Message Date
Kresnadi Budisantoso
9aff9e2d71 RED-7962 Fix error 500 for rule download endpoints.
The previous fix just corrected missing 404 response for the upload endpoints.
In case of a 404 error, the response entity is not a InputStreamResource anymore but an object containing the error message.
2023-11-29 17:23:45 +01:00