Index: trunk/extensions/RSS/RSSFetch.php |
— | — | @@ -175,7 +175,7 @@ |
176 | 176 | |
177 | 177 | // else we totally failed |
178 | 178 | $RSS_FETCH_ERROR = $errormsg; |
179 | | - wfDebugLog( |
| 179 | + wfDebugLog( 'RSS', |
180 | 180 | 'RSSFetch: we totally failed :-( Error message:' . |
181 | 181 | $errormsg |
182 | 182 | ); |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | if( $fetch->isGood() ) { |
213 | 213 | return $client; |
214 | 214 | } else { |
215 | | - wfDebugLog( 'RSS', 'error fetching $url: ' . $fetch->getMessage() ); |
| 215 | + wfDebugLog( 'RSS', 'error fetching $url: ' . $fetch->getWikiText() ); |
216 | 216 | } |
217 | 217 | } |
218 | 218 | |