telegraf / micro-bot

:robot: Zero-configuration Telegram bot runner
MIT License
182 stars 29 forks source link

Better error logging #9

Closed wojpawlik closed 6 years ago

wojpawlik commented 6 years ago

Uses new logError function in bot.catch.

The function avoids string concatenation, so that errors' stack trace is displayed; it also uses console.error instead of console.log.

dotcypress commented 6 years ago

Thank you!