Uncaught exception in promise when creating multiple tweets with factory method in Chrome


#1

Has anyone else experienced this?
Does not appear to happen in other browsers.

Everything seems to work fine and the widgets render, but I keep getting an error in the console.

Check out this example https://jsfiddle.net/s0yzj5te/1/ (open the console)


#2

Thanks for the report. This stems from a scenario where we want to do something when a promise is resolved, but don’t want to do anything if it is rejected. Because of this, we don’t pass a rejection handler to Promise#then which leads to an unhandled rejection. It won’t break anything, but we should clean it up regardless to prevent developers like yourself from wondering if something is wrong.


#3