Skip to content

suppressExceptions setting is always overridden by devMode setting #298

@GaryReckard

Description

@GaryReckard

As far as I can tell, setting 'suppressExceptions' to true will get overridden to false if devMode is true.

This line in init()...

$this->suppressExceptions = !\Craft::$app->getConfig()->general->devMode;

... will overwrite suppressExceptions to false if devMode is true, regardless of what you specify for suppressExceptions explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions