Repository: ambari
Updated Branches:
  refs/heads/trunk 731c1f19b -> eeed6fca5


AMBARI-5051. Start all services silently fails when a service is not startable. 
(onechiporenko)


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

Branch: refs/heads/trunk
Commit: eeed6fca567659451a9defb28131874fb8fd3ba6
Parents: 731c1f1
Author: Oleg Nechiporenko <[email protected]>
Authored: Wed Mar 12 18:28:59 2014 +0200
Committer: Oleg Nechiporenko <[email protected]>
Committed: Wed Mar 12 18:28:59 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/eeed6fca/ambari-web/app/controllers/main/service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service.js 
b/ambari-web/app/controllers/main/service.js
index 67bccf6..5b019e4 100644
--- a/ambari-web/app/controllers/main/service.js
+++ b/ambari-web/app/controllers/main/service.js
@@ -151,8 +151,8 @@ App.MainServiceController = Em.ArrayController.extend({
       }
     });
   },
-  allServicesCallErrorCallback: function() {
-    console.log("ERROR");
+  allServicesCallErrorCallback: function(xhr, textStatus, errorThrown, opt) {
+    App.ajax.defaultErrorHandler(xhr, opt.url, 'PUT', xhr.status);
   },
 
   gotoAddService: function() {

Reply via email to