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:
Daimona Eaytoy 2022-03-07 13:32:54 +01:00
parent 894b94bf7d
commit d5bb976f51

View file

@ -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 );
}
/**