Permalink
Browse files

do not send exception mails when it's a problem with not found modules

  • Loading branch information...
1 parent 1efd85b commit 4e5705912d594447127dcec590ac6193d7297427 @reneeb committed Jan 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pod_book/lib/PodBook.pm
@@ -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},

0 comments on commit 4e57059

Please sign in to comment.