summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2001-10-14 10:34:08 +0200
committergerv%gerv.net <>2001-10-14 10:34:08 +0200
commit794c7b0482d18f1e1013fa206eb9e18fc3ae1ec8 (patch)
tree05b06659c6253ec202ae6d9512b3def47aa2af8f /globals.pl
parent803291c0dc836d6d1f85e4312cd8a6a72e8a80a7 (diff)
downloadbugzilla-794c7b0482d18f1e1013fa206eb9e18fc3ae1ec8.tar.gz
bugzilla-794c7b0482d18f1e1013fa206eb9e18fc3ae1ec8.tar.xz
Bug 57819 - change the size of the bit we print in the large error case. r=justdave.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index b2ab3167a..1228d02c8 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");