[freeside-commits] freeside/FS/FS cust_svc.pm,1.60,1.61
Ivan,,,
ivan at wavetail.420.am
Mon Nov 28 08:38:56 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv5267
Modified Files:
cust_svc.pm
Log Message:
better error msg
Index: cust_svc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_svc.pm,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- cust_svc.pm 28 Nov 2005 16:34:34 -0000 1.60
+++ cust_svc.pm 28 Nov 2005 16:38:54 -0000 1.61
@@ -385,7 +385,8 @@
my $svc_x = $self->svc_x;
my @part_export = $self->part_svc->part_export_usage;
- die "no usage-capable export configured for this service type"
+ die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
+ " service definition"
unless @part_export;
#or return undef;
@@ -493,7 +494,8 @@
my $svc_x = $self->svc_x;
my @part_export = $self->part_svc->part_export_usage;
- die "no usage-capable export configured for this service type"
+ die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
+ " service definition"
unless @part_export;
#or return undef;
@@ -552,7 +554,8 @@
#$attrib ???
my @part_export = $self->part_svc->part_export_usage;
- die "no accounting-capable exports are enabled for this service definition"
+ die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
+ " service definition"
unless @part_export;
#or return undef;
More information about the freeside-commits
mailing list