Compare View
Commits (4)
Changes
Showing 2 changed files Side-by-side Diff
lib/partner.js
... | ... | @@ -26,7 +26,9 @@ function createXmlRpcClient(endpoint) { |
26 | 26 | path: partnerUrl.pathname |
27 | 27 | }; |
28 | 28 | |
29 | - return partnerUrl.protocol === 'https' ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
29 | + logger.verbose('Creating XML-RPC client using ' + partnerUrl.protocol, clientOptions); | |
30 | + | |
31 | + return (partnerUrl.protocol === 'https:') ? xmlrpc.createSecureClient(clientOptions) : xmlrpc.createClient(clientOptions); | |
30 | 32 | } |
31 | 33 | |
32 | 34 | function buy(task) { |