Built-in middleware should gracefully handle messages without text property #182
Closed
4 of 9 tasks
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
Description
Currently there is a bug where builtin middleware is failing when messages are received that don't have the
text
property. Optionaltext
became possible with Block Kit messages. The code that threw this was inmatchMessage()
though there may be more occurrences of the framework relying on atext
value: https://github.com/slackapi/bolt/blob/master/src/middleware/builtin.ts#L160What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: