Skip to content

Commit 10670e9

Browse files
add error log
1 parent 2a088ca commit 10670e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/contentstack-config/src/utils/rate-limit-handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cliux, configHandler } from '@contentstack/cli-utilities';
1+
import { cliux, configHandler, formatError } from '@contentstack/cli-utilities';
22
import { limitNamesConfig, defaultRalteLimitConfig } from '../utils/common-utilities';
33
import { Limit } from '../interfaces';
44

@@ -66,6 +66,7 @@ export class RateLimitHandler {
6666
}
6767
});
6868
} catch (error) {
69+
console.log("Something went wrong while setting rate limit for org: ", formatError(error));
6970
throw new Error(error);
7071
}
7172
}

0 commit comments

Comments
 (0)