summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-08-15 10:29:42 +0000
committerfukachan <fukachan>2004-08-15 10:29:42 +0000
commit043736c8b85b4a2633dd7bda11d35447929cb9fd (patch)
tree1f28f6897dbaffdb791819e2c59459731d165cb1 /fml/lib/FML/Process
parent32a04b88996f0c94f22995680ba199b64f83a5a5 (diff)
downloadfml8-043736c8b85b4a2633dd7bda11d35447929cb9fd.tar.gz
fml8-043736c8b85b4a2633dd7bda11d35447929cb9fd.tar.bz2
fml8-043736c8b85b4a2633dd7bda11d35447929cb9fd.zip
warn "not queue flush due to MTA fatal error.".
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Distribute.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm
index 16996298..495f7c71 100644
--- a/fml/lib/FML/Process/Distribute.pm
+++ b/fml/lib/FML/Process/Distribute.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002,2003,2004 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Distribute.pm,v 1.154 2004/07/23 15:59:09 fukachan Exp $
+# $FML: Distribute.pm,v 1.155 2004/08/13 15:02:49 fukachan Exp $
#
package FML::Process::Distribute;
@@ -341,6 +341,9 @@ sub finish
unless ($curproc->smtp_server_state_get_error()) {
$curproc->queue_flush();
}
+ else {
+ $curproc->logwarn("not queue flush due to MTA fatal error.");
+ }
$eval = $config->get_hook( 'distribute_finish_end_hook' );
$eval .= $config->get_hook( 'article_post_finish_end_hook' );