10125 breaks t/aggregate/live_component_controller_action_private.t, don't know why...
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index 9a75306..4cfd0ad 100644 (file)
@@ -1102,7 +1102,7 @@ EOF
     B::Hooks::EndOfScope::on_scope_end {
         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, "
+            warn "You made your application class ($class) immutable, "
                 . "but did not inline the constructor.\n"
                 . "This will break catalyst, please pass "
                 . "(replace_constructor => 1) when making your class immutable.\n";