Closed wojpawlik closed 6 years ago
Uses new logError function in bot.catch.
logError
bot.catch
The function avoids string concatenation, so that errors' stack trace is displayed; it also uses console.error instead of console.log.
console.error
console.log
Thank you!
Uses new
logError
function inbot.catch
.The function avoids string concatenation, so that errors' stack trace is displayed; it also uses
console.error
instead ofconsole.log
.