Debug log strange-looking ETags being sent to RB

Bug: T135171
Change-Id: Ie127cfbd515cd217abd272cb7a81566b91e13f4d
This commit is contained in:
Alex Monk 2016-05-19 03:33:40 +01:00
parent 709e53189c
commit c40070b5cf

View file

@ -162,6 +162,9 @@ class ApiVisualEditor extends ApiBase {
if ( $parserParams['oldid'] ) {
$path .= '/' . $parserParams['oldid'];
}
if ( !is_string( $etag ) || $etag === '' ) {
wfDebugLog( 'AdHocDebug', 'VisualEditr T135171 - bad etag: ' . var_export( $etag, true ) );
}
return $this->requestRestbase(
'POST',
$path,