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
Under certain circumstances CanJS swallows JavaScript errors and keeps them from being displayed in the console. I have yet to confirm a complete pattern, but one example seems to be when the error is within the .then of a findAll()
This issue is demonstrated in the following fiddle:
If you put a breakpoint on the console.dirs line and then step into, it brings you to
varpipe=function(def,model,func){vard=newcan.Deferred();def.then(function(){varargs=can.makeArray(arguments);try{args[0]=model[func](args[0]);d.resolveWith(d,args);}catch(e){d.rejectWith(d,[e].concat(args));// THIS LINE}},function(){d.rejectWith(this,arguments);});
It appears the error is being caught in the try/catch
Under certain circumstances CanJS swallows JavaScript errors and keeps them from being displayed in the console. I have yet to confirm a complete pattern, but one example seems to be when the error is within the .then of a findAll()
This issue is demonstrated in the following fiddle:
http://jsfiddle.net/thecountofzero/BuvnA/
@daffl asked me to reference issue #384
The text was updated successfully, but these errors were encountered: