In 4.17.13, it is standard practice for an HTTPS response code of 500 and the error message in JSON to be returned to the requester in of an error. In 4.20.0 the HTTPS response code is 200 and the error message is in plain text.
4.17.13
{
"code": 500,
"error": "org.apache.camel.CamelExchangeException: Error occurred during aggregation. Exchange[E440A3CA6859217-0000000000009F7B]. Caused by: [org.assimbly.util.exception.EnrichException - Can't override body]",
"info": "Something went wrong calling the HTTP service. Please refer to the logs for more information."
}
4.20.0
Error occurred during aggregation. Exchange[E30D5CE8EBAAA0D-000000000000D503]. Caused by: [org.assimbly.util.exception.EnrichException - Can't override body]
Test cases
Instances: development and next
Tenant: Regression Tests
Flow: ErrorMessagePlus500
In 4.17.13, it is standard practice for an HTTPS response code of 500 and the error message in JSON to be returned to the requester in of an error. In 4.20.0 the HTTPS response code is 200 and the error message is in plain text.
4.17.13
{
"code": 500,
"error": "org.apache.camel.CamelExchangeException: Error occurred during aggregation. Exchange[E440A3CA6859217-0000000000009F7B]. Caused by: [org.assimbly.util.exception.EnrichException - Can't override body]",
"info": "Something went wrong calling the HTTP service. Please refer to the logs for more information."
}
4.20.0
Error occurred during aggregation. Exchange[E30D5CE8EBAAA0D-000000000000D503]. Caused by: [org.assimbly.util.exception.EnrichException - Can't override body]
Test cases
Instances: development and next
Tenant: Regression Tests
Flow: ErrorMessagePlus500