diff options
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 4 |
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"); |