Removed -2 error from Kibana

This commit is contained in:
Jesús Ángel González 2018-01-29 13:17:26 +01:00 committed by Javier Castro
parent c95173109a
commit 65d58b1970

View File

@ -25,8 +25,8 @@ require('ui/modules').get('app/wazuh', []).service('genericReq', function ($q, $
if(!tmp) {
defered.reject({
'error': -2,
'message': 'Error doing a request to Kibana API.'
error: -2,
message: `Error doing a request to ${tmpUrl}, method: ${method}.`
});
return defered.promise;
}