Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 29cc5e7

Browse files
authored
Update queries (#503)
improve logging for v3 api call
1 parent a0b6b3b commit 29cc5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initializers/v3client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function callService(params, callback) {
4242
/*jslint eqeq: true*/
4343
if (response.statusCode != 200) {
4444
/*jslint eqeq: false*/
45-
callback(new Error('API V3 returned ' + response.statusCode + ' ' + (response.statusMessage || '')));
45+
callback(new Error('API ' + params.url + ' returned ' + response.statusCode + ' ' + (response.statusMessage || '')));
4646
return;
4747
}
4848
callback(null, body);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy