mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Removed -2 error from Kibana
This commit is contained in:
parent
c95173109a
commit
65d58b1970
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user