From 4fefe9352f9da1e1dc42e4107fcab6a33ebf9d00 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 17 Apr 2002 11:59:28 +0000 Subject: [PATCH] better debugging messages from signup server --- fs_signup/fs_signup_server | 8 ++++++-- 1 file 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 -- 2.11.0