From: gerv%gerv.net <> Date: Sun, 14 Oct 2001 08:34:08 +0000 (+0000) Subject: Bug 57819 - change the size of the bit we print in the large error case. r=justdave. X-Git-Tag: bugzilla-2.14.1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=794c7b0482d18f1e1013fa206eb9e18fc3ae1ec8;p=thirdparty%2Fbugzilla.git Bug 57819 - change the size of the bit we print in the large error case. r=justdave. --- 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");