Commit Graph

2 Commits (92d4ed397bc9cd6591b245c8e4be3c28cf207c28)

Author SHA1 Message Date
Ryan Dahl 55048cdf79 Update copyright headers 2011-03-14 17:37:05 -07:00
Felix Geisendörfer 66601f13d9 Do not cache modules that throw exceptions
If a module throws an exception on load, it should not be cached.
This patch shows the problem in a test case and also fixes it.

See: https://groups.google.com/forum/#!topic/nodejs-dev/1cIrvJcADbY

Closes GH-707
Closes GH-710
2011-02-24 16:14:04 -08:00