[dojo-contributors] Instrumenting deferreds to log (unhandled) rejection values

Mark Wubben mark at novemberborn.net
Tue Jun 19 14:13:18 EDT 2012

On 17 Jun 2012, at 18:46, Mark Wubben wrote:
> See <https://github.com/novemberborn/dojo/compare/instrument-deferreds> for instrumentation that runs by default. It also tracks stack traces. Haven't quite settled on what to log precisely, but this should be a good start. A brief look in Firefox though shows the stack traces to be just horrible. Any ideas?
> I've tried to disable the automatic instrumenting in the various build profiles, see <https://github.com/novemberborn/dojo-util/compare/instrument-deferreds>.
> Before I merge this, any feedback on the instrumentation or how it's all hooked up?

I forgot to share the example file, see <https://gist.github.com/e9d65c058dfb12f38391>.

Without further feedback I'll merge this into trunk tomorrow.

Mark Wubben


More information about the dojo-contributors mailing list