mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Fix logging for parser exceptions
This was likely a rebase artefact or something: the 'implode' was meant to be called with two parameters as usual. Currently, the parameters are simply concatenated which makes the logs quite hard to read. Change-Id: I84f9a7cb05e210f60a791d513dfb5b74fa7dfb8a
This commit is contained in:
parent
894b94bf7d
commit
d5bb976f51
|
@ -42,7 +42,7 @@ class UserVisibleException extends ExceptionBase {
|
|||
* @return string
|
||||
*/
|
||||
public function getMessageForLogs(): string {
|
||||
return "ID: {$this->mExceptionID}; position: {$this->mPosition}; params: " . implode( $this->mParams );
|
||||
return "ID: {$this->mExceptionID}; position: {$this->mPosition}; params: " . implode( ', ', $this->mParams );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue