We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Added return statement in error handling of webhookCallback
1 parent 9f9d3af commit 75e7e7dCopy full SHA for 75e7e7d
1 file changed
src/bot/index.ts
@@ -57,6 +57,7 @@ export class CopBot {
57
await webhookCallback(this._bot, 'express')(req, res);
58
} catch (error: any) {
59
logger.error(`Error processing update:${error}`);
60
+ return;
61
}
62
});
63
0 commit comments