Permalink
Browse files

change wrap_error to run_app

  • Loading branch information...
1 parent 582af8d commit 6f6564181a4f575f194ab4f591bd25e0e5e38d30 @miyagawa committed Sep 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Perlbal/Plugin/PSGI.pm
@@ -60,7 +60,7 @@ sub handle_request {
);
};
- my $res = Plack::Util::wrap_error { $app->($env, $start_response) } $env;
+ my $res = Plack::Util::run_app $app, $env, $start_response;
return 1 if @$res == 0;
$start_response->($res);

0 comments on commit 6f65641

Please sign in to comment.