mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
debugging
This commit is contained in:
@@ -177,6 +177,8 @@ function decodeError (err) {
|
|||||||
|
|
||||||
// Handle 429 errors thrown by nginx
|
// Handle 429 errors thrown by nginx
|
||||||
if (err.error) {
|
if (err.error) {
|
||||||
|
console.log('decodeError: err: ', err)
|
||||||
|
|
||||||
if (err.error.includes('429 Too Many Requests')) {
|
if (err.error.includes('429 Too Many Requests')) {
|
||||||
const internalMsg = '429 error thrown by nginx caught by route-utils.js/decodeError()'
|
const internalMsg = '429 error thrown by nginx caught by route-utils.js/decodeError()'
|
||||||
console.error(internalMsg)
|
console.error(internalMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user