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:
parent
b4dd6b93fd
commit
6e8addfc41
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue