Skip to content

Commit

Permalink
fixed msg
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Apr 20, 2010
1 parent de114d2 commit b5be306
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Plack/Util.pm
Expand Up @@ -127,9 +127,8 @@ sub load_psgi {
return $app->to_app if $app and Scalar::Util::blessed($app) and $app->can('to_app');
return $app if $app and (ref $app eq 'CODE' or overload::Method($app, '&{}'));

Carp::croak( "$file did not return a PSGI app handler code reference."
. "\nInstead it returned: "
. ( defined $app ? $app : '<undef>' ));
Carp::croak( "$file did not return a PSGI app handler code reference. Instead it returned: "
. ( defined $app ? $app : 'undef' ));
}

sub run_app($$) {
Expand Down

0 comments on commit b5be306

Please sign in to comment.