BUG: Unhandled Exception on message.text??? #28
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As the title said.
More details please.
I am unable to provide more details, as it did not tell me which line it happened.
My source is here.
@austinhuang0131 ow, I know as much as you do in this case. 🤔
I would suggest you use
.catch
blocks everywhere (i.e. better error handling) to see where the error occurs and why.Also, see if the error occurs on a specific message / command, so you can inspect that block of code.
1. Well, I putSolved.bot.command(...).catch(...)
but it doesn't seem to work (not a function). I have bluebird.2. Telegram will re-send all messages that had not been handled, so this is not going to work.
Sorry about that.
@austinhuang0131 Glad your problem was solved! 👍