@icgio/icg-utils 1.6.29 → 1.6.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/coingecko.js +1 -1
- package/package.json +1 -1
package/lib/coingecko.js
CHANGED
|
@@ -12,7 +12,7 @@ let get_coingecko_rates = (cb, pair) => {
|
|
|
12
12
|
console.error(pair, err)
|
|
13
13
|
return
|
|
14
14
|
} else if (!body[cur_id]) {
|
|
15
|
-
console.error('coingecko cur_id incorrect:', pair, cur_id, vs_cur)
|
|
15
|
+
console.error('coingecko cur_id incorrect:', pair, cur_id, vs_cur, err)
|
|
16
16
|
return
|
|
17
17
|
}
|
|
18
18
|
cb(body[cur_id][vs_cur])
|