Error response from SalesforceHttpClient cutted - possible to extend?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error response from SalesforceHttpClient cutted - possible to extend?

Gerald Kallas - mailbox.org
Hi all,

I've enabled the DEBUG mode for an error investigation of the camel-salesforce component.

The error finally is shown in the log as

2020-04-23T09:42:11,711 | DEBUG | SalesforceHttpClient@4e186e77-171 | HttpReceiver                     | 223 - org.eclipse.jetty.util - 9.4.20.v20190813 | Response content HttpResponse[HTTP/1.1 500 Server Error]@1900cfc5
DirectByteBufferR@1da39e09[p=788,l=848,c=16384,r=60]={HTTP/1.1 500 Serv...chunked\r\n\r\n3C\r\n<<<[{"error":"500::I...ssful":false}]\n>>>n; charset=UTF-8\r...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}

Unfortunately the interesting part has been cutted of {"error":"500::I...ssful":false}

Is there a way to get the detailed message in Karaf log?

Thanks in advance
- Gerald