make the error easier to track down when module loading fails

git-svn-id: file:///home/svn/framework3/trunk@6906 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-07-27 03:40:45 +00:00
parent 9c9669f5d9
commit 1b84ca5282
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ protected
rescue ::Interrupt
raise $!
rescue ::Exception => e
errmsg = "#{e.class} #{e}"
errmsg = "#{file}: #{e.class} #{e}"
self.module_failed[file] = errmsg
elog(errmsg)
return false