[
https://issues.apache.org/jira/browse/IGNITE-9795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Kuznetsov updated IGNITE-9795:
-------------------------------------
Description:
In current implementation we print `res.message()`, but I found that
Responce.toString() method contains much more information:
{code}
"Response\{protocol=" + this.protocol + ", code=" + this.code + ", message=" +
this.message + ", url=" + this.request.url() + '}';
{code}
lets print it instead of just message, it will help in case of finding the
reasons of failures.
was:
In current implementation we print `res.message()`, but I found that
Responce.toString() method contains much more information:
{code}
"Response\{protocol=" + this.protocol + ", code=" + this.code + ", message=" +
this.message + ", url=" + this.request.url() + '}';
}
{code}
lets print it instead of just message, it will help in case of finding the
reasons of failures.
> Web Agent: Improve information message in case REST command failed on cluster
> -----------------------------------------------------------------------------
>
> Key: IGNITE-9795
> URL: https://issues.apache.org/jira/browse/IGNITE-9795
> Project: Ignite
> Issue Type: Bug
> Components: wizards
> Reporter: Alexey Kuznetsov
> Assignee: Alexey Kuznetsov
> Priority: Major
> Fix For: 2.8
>
>
> In current implementation we print `res.message()`, but I found that
> Responce.toString() method contains much more information:
> {code}
> "Response\{protocol=" + this.protocol + ", code=" + this.code + ", message="
> + this.message + ", url=" + this.request.url() + '}';
> {code}
>
> lets print it instead of just message, it will help in case of finding the
> reasons of failures.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)