summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-04 04:48:57 +0200
committerlpsolit%gmail.com <>2006-06-04 04:48:57 +0200
commit623aee25de2e1ee758aae7124d451b3be469a233 (patch)
treeb45c9cdbbc0ea3db6725e475a902b6362d3205f1 /process_bug.cgi
parent1a18e5fc2c3678e9a4a3049b9289e417ce174c7e (diff)
downloadbugzilla-623aee25de2e1ee758aae7124d451b3be469a233.tar.gz
bugzilla-623aee25de2e1ee758aae7124d451b3be469a233.tar.xz
Bug 340253: .cgi scripts should call Throw*Error() instead of die() - Patch by Frédéric Buclin <LpSolit@gmail.com> r=vladd a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 9773dce6d..29b9990ae 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1890,8 +1890,7 @@ foreach my $id (@idlist) {
shift @oldlist;
} else {
if ($oldlist[0] != $newlist[0]) {
- $dbh->bz_unlock_tables(UNLOCK_ABORT);
- die "Error in list comparing code";
+ ThrowCodeError('list_comparison_error');
}
shift @oldlist;
shift @newlist;