Commit d019243ceac0b627bf63007e9790d752cb782d10

Authored by Adhidarma Hadiwinoto
1 parent 086a779b65
Exists in master

logging on GET or POST report

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

... ... @@ -88,6 +88,7 @@ function reportUsingHttpPost(data) {
88 88 }
89 89 }
90 90  
  91 + logger.verbose('Report to CORE using HTTP POST');
91 92 request.post(options, function(error, response, body) {
92 93 if (error) {
93 94 logger.warn('Error reporting to CORE', {error: error});
... ... @@ -114,7 +115,7 @@ function reportUsingHttpGet(data) {
114 115 }
115 116 }
116 117  
117   -
  118 + logger.verbose('Report to CORE using HTTP GET');
118 119 request(options, function(error, response, body) {
119 120 if (error) {
120 121 logger.warn('Error reporting to CORE', {error: error});