You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andrzej Bialecki (Jira)" <ji...@apache.org> on 2021/02/10 14:47:00 UTC
[jira] [Resolved] (SOLR-14234) Unhelpful message in
RemoteExecutionException
[ https://issues.apache.org/jira/browse/SOLR-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki resolved SOLR-14234.
-------------------------------------
Fix Version/s: 8.9
Resolution: Fixed
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org