projects
/
catagits/Gitalist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix regression finding description for an undescribed repository.
[catagits/Gitalist.git]
/
lib
/
Gitalist
/
Git
/
Project.pm
diff --git
a/lib/Gitalist/Git/Project.pm
b/lib/Gitalist/Git/Project.pm
index
efcfbd6
..
1548e00
100644
(file)
--- a/
lib/Gitalist/Git/Project.pm
+++ b/
lib/Gitalist/Git/Project.pm
@@
-316,7
+316,13
@@
FIXME Should this return objects?
}
method _build_description {
- return $self->gpp->description;
+ eval {
+ return $self->gpp->description;
+ };
+ if ($@) {
+ return "Unnamed repository.";
+ }
+
}
method _build_owner {