Index: branches/wmf/1.17wmf1/includes/PoolCounter.php |
— | — | @@ -134,6 +134,13 @@ |
135 | 135 | function error( $status ) { |
136 | 136 | return false; |
137 | 137 | } |
| 138 | + |
| 139 | + /** |
| 140 | + * Log an error |
| 141 | + */ |
| 142 | + function logError( $status ) { |
| 143 | + wfDebugLog( 'poolcounter', $status->getWikiText() ); |
| 144 | + } |
138 | 145 | |
139 | 146 | /** |
140 | 147 | * Get the result of the work (whatever it is), or false. |
— | — | @@ -180,6 +187,7 @@ |
181 | 188 | /* continue to the error */ |
182 | 189 | } |
183 | 190 | } |
| 191 | + $this->logError( $status ); |
184 | 192 | return $this->error( $status ); |
185 | 193 | } |
186 | 194 | |
Property changes on: branches/wmf/1.17wmf1/includes/PoolCounter.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
187 | 195 | Merged /branches/new-installer/phase3/includes/PoolCounter.php:r43664-66004 |
188 | 196 | Merged /branches/wmf-deployment/includes/PoolCounter.php:r53381,60970 |
189 | 197 | Merged /branches/REL1_15/phase3/includes/PoolCounter.php:r51646 |
190 | 198 | Merged /branches/wmf/1.16wmf4/includes/PoolCounter.php:r67177,69199,76243,77266 |
191 | 199 | Merged /branches/sqlite/includes/PoolCounter.php:r58211-58321 |
192 | 200 | Merged /trunk/phase3/includes/PoolCounter.php:r83590,84316 |