From 47d01a53ce7b2cb61b6daf7ef8a504d02faae769 Mon Sep 17 00:00:00 2001 From: fukachan Date: Thu, 18 Apr 2002 15:36:30 +0000 Subject: eval htmlify_file() to avoid unknown error ;) --- fml/lib/FML/Process/Distribute.pm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'fml') diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm index a3ae21a0..622029bb 100644 --- a/fml/lib/FML/Process/Distribute.pm +++ b/fml/lib/FML/Process/Distribute.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Distribute.pm,v 1.71 2002/04/15 03:47:23 fukachan Exp $ +# $FML: Distribute.pm,v 1.72 2002/04/18 05:11:23 fukachan Exp $ # package FML::Process::Distribute; @@ -480,12 +480,15 @@ sub htmlify if ($@) { LogError($@);} } - &Mail::Message::ToHTML::htmlify_file($article_file, { - directory => $html_dir, - }); + eval q{ + &Mail::Message::ToHTML::htmlify_file($article_file, { + directory => $html_dir, + }); + }; + LogError($@) if $@; } else { - Log($@) if $@; + LogError($@) if $@; } $curproc->reset_umask(); -- cgit v1.2.1