Unpossible, but people keep seeing it
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 7b4021c..daf53d1 100644 (file)
@@ -678,6 +678,7 @@ sub build_psgi_app {
 
         return sub {
             my ($respond) = @_;
+            confess("Did not get a response callback for writer, cannot continiue") unless $respond;
             $app->handle_request(env => $env, response_cb => $respond);
         };
     };