Do not expose token on info log level
This commit is contained in:
parent
51eb26c19f
commit
0d0a98490c
|
@ -137,7 +137,7 @@ export class VkPuppet {
|
||||||
// and listen to incoming messages from it
|
// and listen to incoming messages from it
|
||||||
try {
|
try {
|
||||||
const client = new VK({ token: data.token, apiLimit: 20 });
|
const client = new VK({ token: data.token, apiLimit: 20 });
|
||||||
log.info("Trying to init listener with", data.token);
|
log.debug("Trying to init listener with", data.token);
|
||||||
|
|
||||||
client.updates.on("message_new", async (context) => {
|
client.updates.on("message_new", async (context) => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue