Skip to content

Commit

Permalink
Make a couple of diagnostic messages friendlier
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Jul 1, 2009
1 parent b1dddd4 commit 8436b20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/App/Grok.pm
Expand Up @@ -40,7 +40,7 @@ sub run {
: $self->find_target($ARGV[0])
;

die "No matching files found for target '$target'" if !-e $target;
die "No matching files found for target '$target'\n" if !-e $target;

if ($opt{only}) {
print "$target\n";
Expand Down
2 changes: 1 addition & 1 deletion lib/App/Grok/Pod5.pm
Expand Up @@ -19,7 +19,7 @@ sub render {
? 'Pod::Xhtml'
: $format eq 'text'
? 'Pod::Text'
: die "Unsupported format '$format'";
: die __PACKAGE__ " doesn't support the '$format' format";
;

eval "require $formatter";
Expand Down

0 comments on commit 8436b20

Please sign in to comment.