mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
Stop using 'url' param when logging
Bug: T245306 Change-Id: I3ba196e01afe172a99d15abf654a630a3f3d219f
This commit is contained in:
parent
c3a2b12077
commit
819881ad9c
|
@ -132,7 +132,7 @@ class MathRestbaseInterface {
|
|||
$this->log()->info( 'Tex check failed:', [
|
||||
'post' => $request['body'],
|
||||
'error' => $response['error'],
|
||||
'url' => $request['url']
|
||||
'urlparams' => $request['url']
|
||||
] );
|
||||
}
|
||||
return $response;
|
||||
|
@ -452,7 +452,7 @@ class MathRestbaseInterface {
|
|||
// Remove "convenience" duplicate keys put in place by MultiHttpClient
|
||||
unset( $response[0], $response[1], $response[2], $response[3], $response[4] );
|
||||
$this->log()->error( 'Restbase math server problem:', [
|
||||
'url' => $request['url'],
|
||||
'urlparams' => $request['url'],
|
||||
'response' => [ 'code' => $response['code'], 'body' => $response['body'] ],
|
||||
'math_type' => $type,
|
||||
'tex' => $this->tex
|
||||
|
|
Loading…
Reference in a new issue