dojo/loader

Loader swallows informative error messages when loading modules

kitsonk opened this issue · 1 comments

When a module cannot be loaded, in particular, CommonJS ones, for example the following stack trace is wholly uninformative:

windows_10

and to find out what was really going on, I had to load the module using the NodeJS require directly to get a meaningful stack trace.

We should find a way to provide meaningful debugging and allow the real errors to be emitted.

Related to #14