hubotio / hubot

A customizable life embetterment robot.

Home Page:https://hubotio.github.io/hubot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

response.reply is not a function in CatchAll listener

joeyguerra opened this issue ยท comments

Someone submitted PR #1718. After no response about a test, I wrote a failing test to highlight the scenario.

๐ŸŽ‰ This issue has been resolved in version 11.1.3 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@joeyguerra Thanks for getting the fix in! I was hoping to get a test written this weekend.

You're welcome. A test would still be great. The more perspectives I can get on this, the better.

By the way, I believe this

const result = await this.receive(new Message.CatchAllMessage(context.response.message))
is the start of the call stack that results in calling catch all listeners.