Skip to content

Commit d714aaf

Browse files
Merge pull request #1928 from contentstack/fix/DX-2996
[DX-2996], added logs to debug the variant export issue
2 parents 89c09e9 + e892e6a commit d714aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/contentstack-utilities/src/authentication-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class AuthenticationHandler {
5353

5454
async refreshAccessToken(error: any, maxRetryCount = 1): Promise<void> {
5555
if (error.response && error.response.status) {
56+
console.error(error.response);
5657
if (maxRetryCount >= 3) {
5758
ux.print('Max retry count reached, please login to proceed', {
5859
color: 'yellow',
@@ -108,7 +109,6 @@ class AuthenticationHandler {
108109
resolve(true);
109110
})
110111
.catch((error: any) => {
111-
console.log(error);
112112
resolve(false);
113113
});
114114
} else {

0 commit comments

Comments
 (0)