--- trunk/lib/Frey/Server.pm 2008/12/10 17:51:29 793 +++ trunk/lib/Frey/Server.pm 2008/12/14 14:13:35 835 @@ -6,6 +6,8 @@ use Data::Dump qw/dump/; +#use Carp::REPL; # 'nodie'; + use lib 'lib'; use Frey::Run; @@ -56,7 +58,6 @@ my $content_type = 'text/plain'; eval { -# { if ( $path =~ m{/reload(.*)} ) { @@ -150,6 +151,7 @@ if ( $@ ) { warn "SERVER ERROR: $@"; # $req->conn->send_error( 404 ); # FIXME this should probably be 500, but we can't ship page with it + $content_type = 'text/html'; $self->print( qq{
$@
\r\n\r\n} );
 #		Carp::REPL::repl;
 	}