From a9e8c8e6644a83e81fb904ab0febf199421865ba Mon Sep 17 00:00:00 2001 From: Loic GUEGAN Date: Wed, 4 May 2016 22:46:40 +0200 Subject: Correct bug --- client/js/services/Compute.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/js/services') diff --git a/client/js/services/Compute.js b/client/js/services/Compute.js index ee2210c..992f20c 100644 --- a/client/js/services/Compute.js +++ b/client/js/services/Compute.js @@ -112,8 +112,9 @@ mainApp.factory('Compute', ['$http', 'Identity', function ($http, Identity) { // Wait and handle the response result.then(function (response) { - callback(); - console.log(response.data.Error) + console.log(response.data) + callback(); + }, function (response) { console.log("error") callback(); -- cgit v1.2.3