projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eba24c
)
better error
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 21 Aug 2014 07:30:40 +0000
(
00:30
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 21 Aug 2014 07:30:40 +0000
(
00:30
-0700)
FS/FS/part_pkg/bulk_Common.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/bulk_Common.pm
b/FS/FS/part_pkg/bulk_Common.pm
index
c26eb14
..
900ad00
100644
(file)
--- a/
FS/FS/part_pkg/bulk_Common.pm
+++ b/
FS/FS/part_pkg/bulk_Common.pm
@@
-64,7
+64,8
@@
sub calc_recur {
foreach my $cust_svc ( $self->_bulk_cust_svc( $cust_pkg, $sdate ) ) {
my @label = $cust_svc->label_long( $$sdate, $last_bill );
- die "fatal: no label found, wtf?" unless scalar(@label); #?
+ die "fatal: no label found for svcnum ". $cust_svc->svcnum
+ unless scalar(@label); #?
my $svc_details = $label[0]. ': '. $label[1]. ': ';
$part_svc_label{$cust_svc->svcpart} ||= $label[0];