[dojo-contributors] Silent failures in 1.8b1?
Bryan Forbes
bryan at reigndropsfall.net
Tue Jul 17 11:43:51 EDT 2012
This big might also be a problem with _base/Deferred where the following code no longer logs out in 1.8:
var Deferred = require("dojo/_base/Deferred");
var d = new Deferred;
d.addCallbacks(function(){ throw new Error; }, function(){ console.log("HERE"); });
In 1.7, it would log out. Mark, can you take a look at that?
-Bryan
On Jul 16, 2012, at 6:49 PM, Bill Keese <bill at dojotoolkit.org> wrote:
> You may be getting hit by http://bugs.dojotoolkit.org/ticket/15663 on Bryan. Should we mark that as a blocker? It seems like a serious regression.
>
> On Tue, Jul 17, 2012 at 1:26 AM, Ken Benjamin <kenbenjamin at kenbenjamin.net> wrote:
> I'm doing a bunch of new coding and I notice that many failures are
> completely silent. Is this one of the things that'll be fixed/picked up in
> the new error handling code Kitson was working on?
>
> As it stands now, it makes what was already tough debugging something of
> mystery instead. No errors, hmm, why doesn't the code work? Simple stuff
> like referencing an undefined object or a missing module don't error out
> at all in the console, though they do throw deferred errbacks which aren't
> caught by default anywhere.
>
> Ken
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
>
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20120717/20e3e20c/attachment.htm
More information about the dojo-contributors
mailing list