--- trunk/lib/Frey/Server.pm 2008/10/31 19:51:51 213 +++ trunk/lib/Frey/Server.pm 2008/10/31 23:07:46 220 @@ -58,7 +58,7 @@ my ($req) = @_; my $path = $req->request->url->path; - warn "REQUEST: $path ",dump( $req->params ),"\n"; + #warn "REQUEST: $path ",dump( $req->params ); Module::Reload->check if $path =~ m!reload! || $req->param('reload'); @@ -78,7 +78,7 @@ } elsif ( $path =~ m!/(markup|request)/([^/]+)(.*)! ) { $f = Frey::Run->new( class => $2 ); } else { - $f = Frey::ClassBrowser->new; + $f = Frey::Run->new( class => 'Frey::ClassBrowser' ); } $f->request( $req ) if $f; @@ -88,7 +88,7 @@ if ( $@ ) { warn $@; - #$req->conn->send_error( 404 ); # FIXME this should probably be 500, but we can't ship page with it + $req->conn->send_error( 404 ); # FIXME this should probably be 500, but we can't ship page with it $req->print( qq{
$@
} );
 #		Carp::REPL::repl;