projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eaa393
)
SelfTest: Fehlermeldung beim E-Mail-Versand an den Task-Server hochreichen
author
Jan Büren
<jan@kivitendo.de>
Wed, 26 Sep 2018 09:42:43 +0000
(11:42 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Wed, 26 Sep 2018 09:42:43 +0000
(11:42 +0200)
SL/BackgroundJob/SelfTest.pm
patch
|
blob
|
history
diff --git
a/SL/BackgroundJob/SelfTest.pm
b/SL/BackgroundJob/SelfTest.pm
index
bb62467
..
1043864
100644
(file)
--- a/
SL/BackgroundJob/SelfTest.pm
+++ b/
SL/BackgroundJob/SelfTest.pm
@@
-134,7
+134,9
@@
sub _send_email {
$mail->{content_type} = $content_type;
$mail->{message} = $$output;
- $mail->send;
+ my $err = $mail->send;
+ $self->add_errors('Mailer error #1', $err) if $err;
+
}
sub _prepare_report {