projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bfdd76
)
check error status of final $cdr->set_status just in case, RT#15535
author
ivan
<ivan>
Thu, 5 Jan 2012 20:06:59 +0000
(20:06 +0000)
committer
ivan
<ivan>
Thu, 5 Jan 2012 20:06:59 +0000
(20:06 +0000)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
31a9218
..
e74ed0e
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-412,7
+412,8
@@
sub calc_usage {
# 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;
}
}