diff options
| author | fukachan <fukachan> | 2002-04-18 15:36:30 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-04-18 15:36:30 +0000 |
| commit | 47d01a53ce7b2cb61b6daf7ef8a504d02faae769 (patch) | |
| tree | 7745ba4238f86754e6faacf8cbc3ebb58479b925 /fml/lib/FML/Process | |
| parent | 44bce158956695178d04fd2df000a8e996c5bb87 (diff) | |
| download | fml8-47d01a53ce7b2cb61b6daf7ef8a504d02faae769.tar.gz fml8-47d01a53ce7b2cb61b6daf7ef8a504d02faae769.tar.bz2 fml8-47d01a53ce7b2cb61b6daf7ef8a504d02faae769.zip | |
eval htmlify_file() to avoid unknown error ;)
Diffstat (limited to 'fml/lib/FML/Process')
| -rw-r--r-- | fml/lib/FML/Process/Distribute.pm | 13 |
1 files changed, 8 insertions, 5 deletions
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(); |
