Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Values from ext_localconf not active by default #2

@bittner

Description

@bittner

All configuration necessary to activate PHP error and exception logging with Sentry is in ext_localconf.php. Yet still, it's necessary to add those values to LocalConfiguration.php to make the extension work, as described in the README.

It can be shown that the values from ext_localconf.php are indeed loaded successfully and active before an exception occurs. Yet still, the values in LocalConfiguration.php take precedence even though AdditionalConfiguration.php and ext_localconf.php are loaded afterwards, overwriting the handler values in the global array. This seems to be a mannerism (a shortcoming?) of TYPO3, and has been discussed on the TYPO3 #cig-deployment Slack channel.

Be Inspired By Helmut

Jigal von Hemert (on Slack) suggests to take a look at Helmut Hummel's TYPO3-Distribution, which also has its own exception handlers.

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