@twilio/conversations JS SDK Client unhandled rejection with expired token
In the JS SDK
@twilio/conversations v1.1.0, when you try to create a Client instance with an expired token (i.e.
ConversationsClient.create('expired token')), it will first throw an Exception which can be handled in the promise. However, after that it will throw more Exceptions that are not part of that promise, so they are not caught and cause an
I know that we should not be using expired tokens to begin with, but it would be nice for the website not to crash without potentially adding a
unhandledrejection event to the window.
- 55 All Categories
- 4 SIGNAL 2021
- 217 Product Discussions
- 9 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 5 Welcome Guide
- 4 Community - Events
- 1 External Community Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 TwilioQuest Contest!
- 21 Inspiration
- 11 Community - Other Discussions
- 1 Community- Twilio Startups