Skip to content

Do not force error display #75

Open
@Berdir

Description

@Berdir

Describe the bug

The enforced error hide/show is currently not working on projects that don't use master because onProduction() actually just hardcodes master and doesn't check the environment type.

Even with that fixed, I think it's not a good idea to have that. Usually you don't want errors to show either when clients are testing and there might even be a case where you need to enable it on production.

I'd suggest to either remove the whole section or just keep them as commented out examples or so.

Include some logs

No logs

Reproducing

Have a project with a main branch, do something that triggers a php notice/error.

Expected behavior

No error is shown on production.

Your environment

not relevant

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions