Commit cd1c039b08d1dac43f66e11ee6a2c2f3394a9785
1 parent
b8e8b660f7
Exists in
master
debug
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
lib/partner.js
... | ... | @@ -26,9 +26,9 @@ function createXmlRpcClient(endpoint) { |
26 | 26 | path: partnerUrl.pathname |
27 | 27 | }; |
28 | 28 | |
29 | - logger.verbose('Creating XML-RPC client', clientOptions); | |
29 | + logger.verbose('Creating XML-RPC client using ' + partnerUrl.protocol, clientOptions); | |
30 | 30 | |
31 | - return partnerUrl.protocol === 'https' ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
31 | + return (partnerUrl.protocol === 'https') ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
32 | 32 | } |
33 | 33 | |
34 | 34 | function buy(task) { |