From 8de2e9e10b990e290eb8ee94cb06fc8def7cba88 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Thu, 11 Mar 2021 08:44:24 -0800 Subject: [PATCH] debugging --- src/routes/v4/route-utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/v4/route-utils.js b/src/routes/v4/route-utils.js index 9ef99d3..c81649a 100644 --- a/src/routes/v4/route-utils.js +++ b/src/routes/v4/route-utils.js @@ -177,6 +177,8 @@ function decodeError (err) { // Handle 429 errors thrown by nginx if (err.error) { + console.log('decodeError: err: ', err) + if (err.error.includes('429 Too Many Requests')) { const internalMsg = '429 error thrown by nginx caught by route-utils.js/decodeError()' console.error(internalMsg)