summaryrefslogtreecommitdiff
path: root/fs_signup
diff options
context:
space:
mode:
authorivan <ivan>2002-04-17 11:59:28 +0000
committerivan <ivan>2002-04-17 11:59:28 +0000
commit4fefe9352f9da1e1dc42e4107fcab6a33ebf9d00 (patch)
tree4d12baf09a9007a6d462d8f300a56da3d20b5ee1 /fs_signup
parentfbd352236545ea466d41e67a4251202d4f148560 (diff)
better debugging messages from signup server
Diffstat (limited to 'fs_signup')
-rwxr-xr-xfs_signup/fs_signup_server8
1 files changed, 6 insertions, 2 deletions
diff --git a/fs_signup/fs_signup_server b/fs_signup/fs_signup_server
index 058388765..4abdafc46 100755
--- a/fs_signup/fs_signup_server
+++ b/fs_signup/fs_signup_server
@@ -165,8 +165,12 @@ while (1) {
warn "[fs_signup_server] Sending results...\n" if $Debug;
print $writer $error, "\n";
+ next if $error;
+
if ( $conf->exists('signup_server-realtime') ) {
-
+
+ warn "[fs_signup_server] Billing customer...\n" if $Debug;
+
my $bill_error = $cust_main->bill;
warn "[fs_signup_server] error billing new customer: $bill_error"
if $bill_error;
@@ -184,7 +188,7 @@ while (1) {
}
}
- if ( $error && $conf->config('signup_server-email') ) {
+ if ( $conf->config('signup_server-email') ) {
warn "[fs_signup_server] Sending email...\n" if $Debug;
#false laziness w/FS::cust_bill::send & FS::cust_pay::delete