[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.138, 1.139

Ivan,,, ivan at wavetail.420.am
Thu Jan 5 12:07:01 PST 2012


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv25056

Modified Files:
	voip_cdr.pm 
Log Message:
check error status of final $cdr->set_status just in case, RT#15535

Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -w -d -r1.138 -r1.139
--- voip_cdr.pm	4 Jan 2012 21:12:38 -0000	1.138
+++ voip_cdr.pm	5 Jan 2012 20:06:59 -0000	1.139
@@ -412,7 +412,8 @@
       # at this point we officially Do Not Care about the rating method
       $charges += $cdr->rated_price;
       $formatter->append($cdr);
-      $cdr->set_status('done');
+      my $error = $cdr->set_status('done');
+      die $error if $error;
     }
   }
 



More information about the freeside-commits mailing list