ctx.replyWithMarkdown("")
} catch (err) {
// no thing here
}
});
i want hide the errors
when i got error in code it is print :
UnhandledPromiseRejectionWarning: Error: 400: Bad Request: message text is empty
, but i don't use console.log why i is print the error??
how i can hide the errors, stop print it in console ?
bot.start((ctx) => { ctx.replyWithMarkdown("") .catch(() => {}) })
i try it here
it print the error
Обсуждают сегодня