You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/03 15:29:00 UTC
[jira] [Commented] (SOLR-14234) Unhelpful message in
RemoteExecutionException
[ https://issues.apache.org/jira/browse/SOLR-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278074#comment-17278074 ]
ASF subversion and git services commented on SOLR-14234:
--------------------------------------------------------
Commit d88264ba72840bc9529bc65b894cc8ef71a8baf0 in lucene-solr's branch refs/heads/master from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d88264b ]
SOLR-14234: Unhelpful message in RemoteExecutionException.
> 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
> 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