From e2ec373452d8c7c9fb6cda0a1794964817ae6240 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 26 Apr 2008 14:11:16 +0000 Subject: [PATCH] Add debug log entry --- includes/LogPage.php | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1