mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-05-11 03:00:42 -04:00
Implement api nanny mode to help with heavy api usage
This commit is contained in:
@@ -42,7 +42,6 @@ const program = new Command();
|
||||
|
||||
(async function () {
|
||||
try {
|
||||
debugger;
|
||||
preRunCmd.parse(process.argv);
|
||||
const { operatorConfig = process.env.OPERATOR_CONFIG } = preRunCmd.opts();
|
||||
try {
|
||||
@@ -199,7 +198,6 @@ const program = new Command();
|
||||
await program.parseAsync();
|
||||
|
||||
} catch (err) {
|
||||
debugger;
|
||||
if(!err.logged && !(err instanceof LoggedError)) {
|
||||
const logger = winston.loggers.get('default');
|
||||
if (err.name === 'StatusCodeError' && err.response !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user