diff --git a/includes/Parser/Exception/UserVisibleException.php b/includes/Parser/Exception/UserVisibleException.php index a60694982..f2ab42e5d 100644 --- a/includes/Parser/Exception/UserVisibleException.php +++ b/includes/Parser/Exception/UserVisibleException.php @@ -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 ); } /**