summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-30 10:17:39 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-30 10:17:39 +0000
commiteaa1cca60129b60eb4331572dd7634c31b8a06d7 (patch)
tree93ff0efc5ec346882347cc473d7e7d3e853b7a6d /lib
parentc0c75769b689b34be85e2b7e1b92016e7b67563e (diff)
Sorry again, incorrent exception propagation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generator.rb b/lib/generator.rb
index 241987faba..03ff0962d4 100644
--- a/lib/generator.rb
+++ b/lib/generator.rb
@@ -76,7 +76,7 @@ class Generator
begin
@block.call(self)
rescue
- @main_thread.raise
+ @main_thread.raise $!
ensure
@main_thread.wakeup
end