1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#6 fixed excessive logging for not found event

This commit is contained in:
Fedor Katurov 2021-05-13 15:07:50 +07:00
parent b4dd6b93fd
commit 6e8addfc41

View file

@ -290,7 +290,7 @@ export class PostNewHandler extends VkEventHandler<Fields, Values> {
const event = await this.getEventByTgMessageId(id); const event = await this.getEventByTgMessageId(id);
if (!event) { if (!event) {
logger.warn(`event not found for tgMessageId ${id}`); logger.debug(`event not found for tgMessageId ${id}`);
await next(); await next();
return; return;
} }