From 3352cddbdfd3696ecca7d16cdb5ab1017a54bf2a Mon Sep 17 00:00:00 2001 From: fukachan Date: Wed, 20 Feb 2002 13:59:48 +0000 Subject: log $@ if possible --- fml/lib/FML/Command.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fml') diff --git a/fml/lib/FML/Command.pm b/fml/lib/FML/Command.pm index 64be4c0f..e770f7e0 100644 --- a/fml/lib/FML/Command.pm +++ b/fml/lib/FML/Command.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Command.pm,v 1.20 2002/02/17 13:35:13 fukachan Exp $ +# $FML: Command.pm,v 1.21 2002/02/19 13:32:43 fukachan Exp $ # package FML::Command; @@ -112,8 +112,8 @@ sub AUTOLOAD } } else { - LogError("$pkg module is not found"); LogError($@) if $@; + LogError("$pkg module is not found"); croak("$pkg module is not found"); # upcall to FML::Process::Command } } -- cgit v1.2.1