Added error messages to the module loader to help debug that nasty "Module not found" bug.
Turns out if there is some unrelated issue that prevents the module object from being instantiated, this will prevent the module loader from finding the module later and will manifest as this misleading error message.
1 file changed