diff options
Diffstat (limited to 'bin/freeside-migrate-events')
-rw-r--r-- | bin/freeside-migrate-events | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/freeside-migrate-events b/bin/freeside-migrate-events index 74732b7f2..2ec291893 100644 --- a/bin/freeside-migrate-events +++ b/bin/freeside-migrate-events @@ -103,7 +103,7 @@ foreach my $part_bill_event ( 'eventpart' => $part_event->eventpart, 'conditionname' => 'cust_bill_age' }; - $error = $payby->insert( 'age' => ($part_bill_event->seconds/86400 ).'d' ); + $error = $age->insert( 'age' => ($part_bill_event->seconds/86400 ).'d' ); die $error if $error; } @@ -127,7 +127,8 @@ foreach my $part_bill_event ( }; my $cerror = $cust_event->insert; - die "error inserting cust_event: $cerror\n" if $cerror; + #die "error inserting cust_event: $cerror\n" if $cerror; + warn "error inserting cust_event: $cerror\n" if $cerror; #my $dcerror = $cust_bill_event->delete; #die "error removing cust_bill_event: $dcerror\n" if $dcerror; |