Use generic conf
Change-Id: I94d5579664100a41aa6aa4e8d77961294484f881
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index b324be5..cbf4198 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -119,9 +119,9 @@
# Configure mail exception
- $self->plugin('MailException' => $self->config('MailException'));
-
-
+ if ($self->config('MailException')) {
+ $self->plugin('MailException' => $self->config('MailException'));
+ };
# Configure documentation navigation
my $navi = Mojo::File->new($self->home->child('templates','doc','navigation.json'))->slurp;