improvement: moved all console logs to pino

This commit is contained in:
canove
2021-01-07 20:52:51 -03:00
parent 0689b55453
commit 896f122cf7
16 changed files with 57 additions and 36 deletions

View File

@@ -37,7 +37,6 @@ const SendWhatsAppMessage = async ({
await ticket.update({ lastMessage: body });
return sentMessage;
} catch (err) {
console.log(err);
throw new AppError("ERR_SENDING_WAPP_MSG");
}
};