From 794c7b0482d18f1e1013fa206eb9e18fc3ae1ec8 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 14 Oct 2001 08:34:08 +0000 Subject: [PATCH] Bug 57819 - change the size of the bit we print in the large error case. r=justdave. --- globals.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/globals.pl b/globals.pl index b2ab3167ae..1228d02c85 100644 --- a/globals.pl +++ b/globals.pl @@ -214,8 +214,8 @@ sub SendSQL { if (!$::currentquery->execute) { my $errstr = $::db->errstr; # Cut down the error string to a reasonable.size - $errstr = substr($errstr, 0, 100) . ' ... ' . substr($errstr, -100) - if length($errstr) > 200; + $errstr = substr($errstr, 0, 2000) . ' ... ' . substr($errstr, -2000) + if length($errstr) > 4000; die "$str: " . $errstr; } SqlLog("Done"); -- 2.47.2