Closed cweiske closed 3 months ago
Log messages from Core ErrorHandler are excluded because Sentrys error Integrations are enabled.
I guess you have E_WARNING in $GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors']
which turns warnings into Exceptions and thus reported again.
Is this the case?
I do indeed have 'exceptionalErrors' => 12290
which translates to
E_WARNING | E_RECOVERABLE_ERROR | E_DEPRECATED
The problem is gone when upgrading to 5.1.0 (without any configuration changes). Downgrading to 5.0.2 makes it appear again.
When following the README and configuring the
productionExceptionHandler
as well as the logwriterConfiguration
, exceptions are reported twice to Sentry.One is reported by the as "level: error"
stack trace:
the other one is "level: warning"
stack trace:
The duplicate reports go away when I disable the log writer.
Now my questions:
This happens with TYPO3 12.4.13 and sentry_client 5.0.2.
My
config/system/additional.php
contains: