Skip to content

Commit

Permalink
do not send exception mails when it's a problem with not found modules
Browse files Browse the repository at this point in the history
  • Loading branch information
reneeb committed Jan 6, 2013
1 parent 1efd85b commit 4e57059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod_book/lib/PodBook.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ sub startup {
my ($mail,$exception) = @_;

my $message = $exception->message;
return if $message =~ m{PPI/XS} or $message =~ m{version/vxs};
return if $message =~ m{Can't locate};

$mail->send(
$config->{mail}->{how},
Expand Down

0 comments on commit 4e57059

Please sign in to comment.