Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -365,15 +365,13 @@ |
366 | 366 | $response = FormatJson::decode( $json ); |
367 | 367 | |
368 | 368 | if ( $json === false ) { |
369 | | - wfWarn( __METHOD__ . ': Http::get failed' ); |
| 369 | + error_log( __METHOD__ . ': Http::get failed' ); |
370 | 370 | // Most likely a timeout or other general error |
371 | 371 | self::reportTranslationServiceFailure( $serviceName ); |
372 | 372 | |
373 | 373 | return null; |
374 | 374 | } elseif ( !is_object( $response ) ) { |
375 | | - wfWarn( __METHOD__ . ': Unable to parse reply: ' . strval( $json ) ); |
376 | 375 | error_log( __METHOD__ . ': Unable to parse reply: ' . strval( $json ) ); |
377 | | - |
378 | 376 | return null; |
379 | 377 | } |
380 | 378 | |
— | — | @@ -462,7 +460,7 @@ |
463 | 461 | return null; |
464 | 462 | } |
465 | 463 | |
466 | | - wfWarn( __METHOD__ . ': Http::get failed:' . $error ); |
| 464 | + error_log( __METHOD__ . ': Http::get failed:' . $error ); |
467 | 465 | // Most likely a timeout or other general error |
468 | 466 | self::reportTranslationServiceFailure( $serviceName ); |
469 | 467 | return null; |