Commit c0074a2e3d1a6a143e1742dbfa7baeedb996c974

Authored by Adhidarma Hadiwinoto
1 parent 5b9c71853b
Exists in master

DEBUG

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -42,6 +42,7 @@ function onIncomingMessage(params) {
42 42 }
43 43 }
44 44  
  45 + logger.verbose('MESSAGING-CLIENT-LIB: Sending report to messaging service');
45 46 request(requestOptions, function(err, res, body) {
46 47 if (err) {
47 48 logger.warn('MESSAGING-CLIENT-LIB: error on request to CORE', {err: err});
... ... @@ -49,6 +50,7 @@ function onIncomingMessage(params) {
49 50 }
50 51  
51 52 if (params.do_not_forward_to_core) return;
  53 + if (params.is_outgoing) return;
52 54  
53 55 try {
54 56 var data = JSON.parse(body);