From: Aaron Schulz Date: Sat, 26 Apr 2008 14:11:16 +0000 (+0000) Subject: Add debug log entry X-Git-Tag: 1.31.0-rc.0~48061 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=e2ec373452d8c7c9fb6cda0a1794964817ae6240;p=lhc%2Fweb%2Fwiklou.git Add debug log entry --- diff --git a/includes/LogPage.php b/includes/LogPage.php index b24611b590..c40e96a989 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -85,6 +85,8 @@ class LogPage { RecentChange::notifyLog( $now, $titleObj, $wgUser, $rcComment, '', $this->type, $this->action, $this->target, $this->comment, $this->params, $newId ); } + } else { + wfDebug( "LogPage::saveContent failed to insert row - Error {$dbw->lastErrno()}: {$dbw->lastError()}" ); } return $ok; }