Describe the bug
We are currently using the botbuilder to send message via Microsoft Teams however we are checking the instance of the error to match the RestError provided from here to ensure that we are handling known exceptions from the API.
This seems to have been working fine until this week where the thrown error no longer matches the instance.
To Reproduce
Steps to reproduce the behavior:
Setup CloudAdapter from botbuilder
Send a message to a user who has blocked the MS teams bot, using continueConversationAsync from the adapter
Check the error thrown
Expected behavior
The RestError class instance should match the error thrown via the Rest API
Package Version:
2.7.0
Describe the bug We are currently using the
botbuilder
to send message via Microsoft Teams however we are checking the instance of the error to match theRestError
provided from here to ensure that we are handling known exceptions from the API.This seems to have been working fine until this week where the thrown error no longer matches the instance.
To Reproduce Steps to reproduce the behavior:
CloudAdapter
frombotbuilder
continueConversationAsync
from the adapterExpected behavior The
RestError
class instance should match the error thrown via the Rest API