You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2018/10/04 15:41:46 UTC

ignite git commit: IGNITE-9795 Web Agent: Improved information message in case REST command failed on cluster

Repository: ignite
Updated Branches:
  refs/heads/master 4bd2d8320 -> c59791196


IGNITE-9795 Web Agent: Improved information message in case REST command failed on cluster


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c5979119
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c5979119
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c5979119

Branch: refs/heads/master
Commit: c59791196a6a54beada115b676feafb42bec53c1
Parents: 4bd2d83
Author: Alexey Kuznetsov <ak...@apache.org>
Authored: Thu Oct 4 22:41:38 2018 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Thu Oct 4 22:41:38 2018 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/console/agent/rest/RestExecutor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c5979119/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/agent/rest/RestExecutor.java
----------------------------------------------------------------------
diff --git a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/agent/rest/RestExecutor.java b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/agent/rest/RestExecutor.java
index bb06c32..737b966 100644
--- a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/agent/rest/RestExecutor.java
+++ b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/agent/rest/RestExecutor.java
@@ -136,7 +136,7 @@ public class RestExecutor implements AutoCloseable {
         if (res.code() == 404)
             return RestResult.fail(STATUS_FAILED, "Failed connect to cluster.");
 
-        return RestResult.fail(STATUS_FAILED, "Failed to execute REST command: " + res.message());
+        return RestResult.fail(STATUS_FAILED, "Failed to execute REST command: " + res);
     }
 
     /** */