mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Debug log strange-looking ETags being sent to RB
Bug: T135171 Change-Id: Ie127cfbd515cd217abd272cb7a81566b91e13f4d
This commit is contained in:
parent
709e53189c
commit
c40070b5cf
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue