You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once instantiating a viewer, this code will fail silently without raising any error visible in the browser console - this cost us a few hours of time that would have been saved had we seen it in the console. It seems to be swallowed inside viewer.js.
docviewer.on('ready', function (e) {
my_undefined_var.foo();
});
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I'm surprised I hadn't noticed this myself, but I guess that makes sense due to the nature of the issue. At first glance it appears that jQuery promises are swallowing all exceptions, but I need to dig in a bit more to be sure.
Once instantiating a viewer, this code will fail silently without raising any error visible in the browser console - this cost us a few hours of time that would have been saved had we seen it in the console. It seems to be swallowed inside viewer.js.
Thanks!
The text was updated successfully, but these errors were encountered: