From 623aee25de2e1ee758aae7124d451b3be469a233 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 4 Jun 2006 02:48:57 +0000 Subject: Bug 340253: .cgi scripts should call Throw*Error() instead of die() - Patch by Frédéric Buclin r=vladd a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'process_bug.cgi') 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; -- cgit v1.2.3-24-g4f1b