jaredhanson / electrolyte

Elegant dependency injection for Node.js.
MIT License
564 stars 59 forks source link

Better error handling on requiring component #51

Open anotheri opened 8 years ago

anotheri commented 8 years ago

If for some reasons script can't be initialized you just drop that error here.

That information would be super useful for debug. Could you fix that and show that error stack in addition to this error message?

RyanDawkins commented 8 years ago

+1

If no one takes this I'll probably implement the change and make another pull request.

Nelrohd commented 7 years ago

+1 I'm not sure it was like that before