From: Timo Tijhof Date: Sat, 19 May 2018 23:39:36 +0000 (+0200) Subject: filebackend: Fix undefined 'req_params' context in FileOperation log X-Git-Tag: 1.34.0-rc.0~5364^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=a89095bd527993fdcbf54d815c3499a240d9c5ee filebackend: Fix undefined 'req_params' context in FileOperation log Follows-up 9d49075b38. Noticed various log messages on Beta Cluster from this code path that used "{params}" even in the real messages (not normalised). Turned out, it isn't being defined due to a typo. Change-Id: Ib9cf644fdf413035504d9d7486696cffa7737d4a --- diff --git a/includes/libs/filebackend/SwiftFileBackend.php b/includes/libs/filebackend/SwiftFileBackend.php index 5695d8284f..997974e7f2 100644 --- a/includes/libs/filebackend/SwiftFileBackend.php +++ b/includes/libs/filebackend/SwiftFileBackend.php @@ -1811,7 +1811,7 @@ class SwiftFileBackend extends FileBackendStore { if ( $code == 401 ) { // possibly a stale token $this->srvCache->delete( $this->getCredsCacheKey( $this->swiftUser ) ); } - $msg = "HTTP {code} ({desc}) in '{func}' (given '{params}')"; + $msg = "HTTP {code} ({desc}) in '{func}' (given '{req_params}')"; $msgParams = [ 'code' => $code, 'desc' => $desc,