From 26c3259fde1569ed2c410f0667595d46d42c1cb7 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Wed, 29 Sep 2010 12:40:29 -0400 Subject: [PATCH] load: make module not found error more informative --- components/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/application.js b/components/application.js index 8d297bf..3e4ff51 100644 --- a/components/application.js +++ b/components/application.js @@ -201,7 +201,7 @@ application.prototype = { if (! suffix) path = this.load_paths[++i]; } - throw new Error("Module not found"); + throw new Error("Module not found ("+module+")"); } }, module_assert_error: function (module) { -- 2.11.4.GIT