[
https://issues.apache.org/jira/browse/SOLR-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mayya Sharipova closed SOLR-14234.
----------------------------------
Closing after the 8.9.0 release
> Unhelpful message in RemoteExecutionException
> ---------------------------------------------
>
> Key: SOLR-14234
> URL: https://issues.apache.org/jira/browse/SOLR-14234
> Project: Solr
> Issue Type: Improvement
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Fix For: 8.9
>
> Attachments: exception.patch
>
>
> Details of this exception are unusually passed here not in the message or
> {{getCause()}} but instead they are passed in a separate field {{meta}}.
> The problem is that in many contexts where {{toString()}} is used these
> details are completely ignored, which produces very confusing and incomplete
> messages, like this:
> {code}
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteExecutionException:
> Error from server at https://127.0.0.1:59006/solr: Error in command payload
> at
> __randomizedtesting.SeedInfo.seed([8AD470708D05DCDB:EF407342F1EBA057]:0)
> at
> org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteExecutionException.create(BaseHttpSolrClient.java:66)
> {code}
> I propose to add the details to the message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]