at least get an error in the log
authorIvan Kohler <ivan@freeside.biz>
Fri, 30 Jun 2017 23:29:50 +0000 (16:29 -0700)
committerIvan Kohler <ivan@freeside.biz>
Fri, 30 Jun 2017 23:29:50 +0000 (16:29 -0700)
FS/FS/ClientAPI/Signup.pm

index 5ced42b..035a317 100644 (file)
@@ -794,8 +794,8 @@ sub new_customer {
          depend_jobnum => $placeholder->jobnum,
          selfservice   => 1,
       );
-      #warn "$me error collecting from new customer: $bill_error"
-      #  if $bill_error;
+      warn "$me error collecting from new customer: $bill_error"
+        if $bill_error && !ref($bill_error);
     }
 
     if ($bill_error && ref($bill_error) eq 'HASH') {