From: Tomas Doran Date: Tue, 22 Nov 2011 21:36:37 +0000 (+0000) Subject: Better debugging X-Git-Tag: 0.003007~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=a46cb1523933154490ffbb8d1b28dcda57568801 Better debugging --- diff --git a/lib/Gitalist/Controller/LegacyURI.pm b/lib/Gitalist/Controller/LegacyURI.pm index a4c4420..28407e1 100644 --- a/lib/Gitalist/Controller/LegacyURI.pm +++ b/lib/Gitalist/Controller/LegacyURI.pm @@ -140,7 +140,7 @@ sub project_index : Chained('/base') Args(0) { $c->response->content_type('text/plain'); $c->response->body( join "\n", map $_->name, $c->model()->repositories->flatten - ) or die 'No repositories found in '. $c->model->repo_dir; + ) or die 'No repositories found in ' . ref($c->model) . ' ' . $c->model->debug_string; } __PACKAGE__->meta->make_immutable;