Error occurs at random times: Message undefined #31

Closed
opened 2016-11-30 15:58:13 +00:00 by austinhuang0131 · 1 comment
austinhuang0131 commented 2016-11-30 15:58:13 +00:00 (Migrated from github.com)
TypeError: Cannot read property 'chat' of undefined
    at /var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/types/Base.js:86:27
    at Array.find (native)
    at Bot.listener (/var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/types/Base.js:78:31)
    at emitOne (events.js:101:20)
    at Bot.emit (events.js:188:7)
    at /var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/build/functions/poll.js:12:9
    at process._tickDomainCallback (internal/process/next_tick.js:129:7)

Source. Could happen in any bot.command or bot.get.

``` TypeError: Cannot read property 'chat' of undefined at /var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/types/Base.js:86:27 at Array.find (native) at Bot.listener (/var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/types/Base.js:78:31) at emitOne (events.js:101:20) at Bot.emit (events.js:188:7) at /var/lib/openshift/581204327628e191f2000152/app-root/runtime/repo/node_modules/telegram-api/build/functions/poll.js:12:9 at process._tickDomainCallback (internal/process/next_tick.js:129:7) ``` [Source](https://github.com/austinhuang0131/metagon). Could happen in any `bot.command` or `bot.get`.
austinhuang0131 commented 2016-12-14 15:10:08 +00:00 (Migrated from github.com)

#32

#32
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: thereadme/node-telegram-api#31
No description provided.