Commit 19122fd2 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add debugging.

parent 97e2feae
......@@ -2360,8 +2360,9 @@ sub DBQuery($)
if (defined($result) || $DB->err != 2006) {
last;
}
my $err = $DB->err;
DBWarn("mysqld went away. $maxtries tries left", 0);
DBWarn("mysqld went away ($err). $maxtries tries left", 0);
$maxtries--;
sleep(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment