From: Tomas Doran Date: Wed, 6 May 2009 00:38:34 +0000 (+0000) Subject: Mad fix. X-Git-Tag: 5.80004~46 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=3cdcf1d9db95eb0697cb777501f5c044953ba274 Mad fix. --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index bab0bd4..a6be851 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1100,6 +1100,7 @@ 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, "