Skip to content

Using wrong flag to write to error log in ErrorHandler #3317

@mohammadhzp

Description

@mohammadhzp

In ErrorHandler at line 262, the condition is checked against the wrong flag.

the condition must check against $this->logErrorDetails rather than $this->displayErrorDetails. so the line would be:

if (!$this->logErrorDetails) {

If the bug is valid, I can create a pull request to fix it.

More details: It seems writeToErrorLog() is used to save the logs properly somewhere and $this->displayErrorDetails is used by the renderer to show the error details in realtime on the client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions