summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-10-13 02:35:00 +0000
committerfukachan <fukachan>2001-10-13 02:35:00 +0000
commit4c7f3c7a83df45d0863b74285939fa06efc7aeee (patch)
tree0dd6efbd608e50ae8021b771cb4916520f63e4b5
parenta2b65b3803e0d6b09aeb2ab563e250bc559a07a3 (diff)
downloadfml8-4c7f3c7a83df45d0863b74285939fa06efc7aeee.tar.gz
fml8-4c7f3c7a83df45d0863b74285939fa06efc7aeee.tar.bz2
fml8-4c7f3c7a83df45d0863b74285939fa06efc7aeee.zip
clean up log message, LogError() -> croak()
-rw-r--r--fml/lib/FML/Command/Admin/subscribe.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Command/Admin/subscribe.pm b/fml/lib/FML/Command/Admin/subscribe.pm
index d2e28d06..fbfd9ec6 100644
--- a/fml/lib/FML/Command/Admin/subscribe.pm
+++ b/fml/lib/FML/Command/Admin/subscribe.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: subscribe.pm,v 1.3 2001/09/13 11:53:30 fukachan Exp $
+# $FML: subscribe.pm,v 1.4 2001/10/11 23:59:54 fukachan Exp $
#
package FML::Command::Admin::subscribe;
@@ -59,10 +59,10 @@ sub process
$obj->touch();
$obj->add( $address );
unless ($obj->error()) {
- Log("added $address to map=$map");
+ Log("add $address to map=$map");
}
else {
- LogError("fail to add $address to map=$map");
+ croak("fail to add $address to map=$map");
}
}
else {