Commit 98991daa27353fb606ed2d3ad2ffe5fa289d0574
1 parent
51b0539487
Exists in
master
log on response
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
partner-otomax.js
... | ... | @@ -90,7 +90,7 @@ function requestToPartner(task) { |
90 | 90 | let requestOptions = createRequestOptions(task); |
91 | 91 | |
92 | 92 | logger.info('Requesting to partner', {task: task, request_options: requestOptions}); |
93 | - | |
93 | + | |
94 | 94 | request(requestOptions, function(error, response, body) { |
95 | 95 | if (error) { |
96 | 96 | logger.warn('Error requesting to partner', {task: task, error: error}); |
... | ... | @@ -104,6 +104,8 @@ function requestToPartner(task) { |
104 | 104 | return; |
105 | 105 | } |
106 | 106 | |
107 | + logger.verbose('Got response from partner', {task: task, body: body}); | |
108 | + | |
107 | 109 | parseMessage(task, body); |
108 | 110 | }); |
109 | 111 | } |