summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-02-20 13:59:48 +0000
committerfukachan <fukachan>2002-02-20 13:59:48 +0000
commit3352cddbdfd3696ecca7d16cdb5ab1017a54bf2a (patch)
treee29824f9c78b927f2fbe8c1cf0b1628899284483 /fml
parent6179fe1adf7eaa5909d0ecb2821eb4893726a8e3 (diff)
downloadfml8-3352cddbdfd3696ecca7d16cdb5ab1017a54bf2a.tar.gz
fml8-3352cddbdfd3696ecca7d16cdb5ab1017a54bf2a.tar.bz2
fml8-3352cddbdfd3696ecca7d16cdb5ab1017a54bf2a.zip
log $@ if possible
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Command.pm4
1 files changed, 2 insertions, 2 deletions
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
}
}