Skip to content

TypeError: Cannot read property 'id' of undefined #1

@chyuibacca

Description

@chyuibacca

I have created a simple bot using the botmaster framework (using a Telegram bot type) and added botmaster-session-ware to store a simple count attribute across requests.

The incoming ware appears to create the session OK, but the outgoing ware throws a TypeError with the message: "Cannot read property 'id' of undefined"

I am using:

  • NodeJS v6.9.4
  • botmaster v2.2.7
  • botmaster-session-ware v0.1.0

Bot source files and logging trace attached.
source.zip
botmaster-session-ware-typeerror.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions