alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

Report package name and cwd during script errors #112

Closed kirbysayshi closed 8 years ago

kirbysayshi commented 8 years ago

Revisit of #102, but against rebirth. This is nearly a trivial change since rebirth appears to already have everything needed in context :sunglasses:. Not really sure how to test this! Suggestions?

alexanderGugel commented 8 years ago

Added some comments. Appreciate the PR :+1:

kirbysayshi commented 8 years ago

I was revisiting this tonight, have a few questions (above). Seems like most of this is in the codebase already! But I still think it would be useful to log the name of the package in the case of an error, unless I'm misunderstanding how this code is executed.

alexanderGugel commented 8 years ago

This is already in the code base.