debugging - errors not shown in Firebug console with dojo/when promise -
newbie dojo. don't understand why js errors not written firebug console when happening in resolved promise handler of dojo/when function. synchronous code, errors written. when error happens, erroneous line shown in firebug script view. i'm using dojo 1.8 ff 19.0 , firebug 1.11.2.
there has try catch block somewhere along code, prevents dojo/when throw errors.
you can add functionality adding try catch block yourself, check out jsfiddle:
try{ should.bombandloganerrorinfirebug(); //this not log error in firebug! why? } catch(e) { alert("error"); }
Comments
Post a Comment