We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e09d991 + d714aaf commit 8916bdbCopy full SHA for 8916bdb
packages/contentstack-utilities/src/authentication-handler.ts
@@ -53,6 +53,7 @@ class AuthenticationHandler {
53
54
async refreshAccessToken(error: any, maxRetryCount = 1): Promise<void> {
55
if (error.response && error.response.status) {
56
+ console.error(error.response);
57
if (maxRetryCount >= 3) {
58
ux.print('Max retry count reached, please login to proceed', {
59
color: 'yellow',
@@ -108,7 +109,6 @@ class AuthenticationHandler {
108
109
resolve(true);
110
})
111
.catch((error: any) => {
- console.log(error);
112
resolve(false);
113
});
114
} else {
0 commit comments