Back out last change. vincent worked out it's a bug in MOP
Tomas Doran [Thu, 7 May 2009 00:13:23 +0000 (00:13 +0000)]
lib/Catalyst.pm

index a6be851..bab0bd4 100644 (file)
@@ -1100,7 +1100,6 @@ EOF
     # modifiers work correctly in MyApp (as you have to call setup _before_
     # applying modifiers).
     Scope::Upper::reap(sub {
-        die $@ if $@; # This does not appear to do what you think it does.
         my $meta = Class::MOP::get_metaclass_by_name($class);
         if ( $meta->is_immutable && ! { $meta->immutable_options }->{inline_constructor} ) {
             die "You made your application class ($class) immutable, "