diff --git a/workflow/engine/js/strategicDashboard/dashboardProxy.js b/workflow/engine/js/strategicDashboard/dashboardProxy.js index 456b87003..b1669ecf7 100644 --- a/workflow/engine/js/strategicDashboard/dashboardProxy.js +++ b/workflow/engine/js/strategicDashboard/dashboardProxy.js @@ -442,7 +442,7 @@ DashboardProxy.prototype.getJson = function (endPoint, callBack) { datatype: 'json', success: function(response) { callBack(response); }, error: function(jqXHR, textStatus, errorThrown) { - console.log(textStatus, errorThrown); + throw new Error(textStatus); }, beforeSend: function (xhr) { xhr.setRequestHeader('Authorization', 'Bearer ' + that.oauthToken);