JavaScript createTimeline factory function not returning error message


I am using Twitter Timeline factory function to create twitter widget. I have used below code,

sourceType: ‘profile’,
screenName: ‘twitterdev’
).then(function(el) {
}, function(status) {

In the Promise section if the widget is successfully created, I am receiving el element but if it throws exception that was not captured in status block. This code is works fine before but now its not working properly.

My requirement is if widget is not created I need to capture the exact error message.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.