Permalink
Browse files

add release info for 0.22

  • Loading branch information...
1 parent d0ce10b commit 1efd85b275e411963559cc00d13aee7d72020620 @reneeb committed Jan 6, 2013
Showing with 9 additions and 1 deletion.
  1. +5 −0 Changes
  2. +4 −1 pod_book/lib/PodBook.pm
View
@@ -1,5 +1,10 @@
Changes for cpan2ebook (perlybook.org)
+0.22 2013-01-06
+
+ - add exception pages for production mode
+ - use Mojolicious::Plugin::MailException
+
0.21 2013-01-06
- .mobis can be sent via mail (#6)
View
@@ -6,7 +6,7 @@ use warnings;
use Mojo::Base 'Mojolicious';
use Mojo::Log;
-our $VERSION = 0.21;
+our $VERSION = 0.22;
# This method will run once at server start
sub startup {
@@ -37,6 +37,9 @@ sub startup {
send => sub {
my ($mail,$exception) = @_;
+ my $message = $exception->message;
+ return if $message =~ m{PPI/XS} or $message =~ m{version/vxs};
+
$mail->send(
$config->{mail}->{how},
@{ $config->{mail}->{howargs} || [] },

0 comments on commit 1efd85b

Please sign in to comment.