I maintain a legacy app with Smarty templates which causes a lot of Notice noise. We have been filtering these in the before_send callback by comparing the last frame's absolute file path against the directory in which those Smarty templates reside in.
After upgrading to sentry/sdk v3, we noticed that these Notices were no longer filtered.
Debugging showed that all Frame->absoluteFilePaths are now null, which hadn't been the case in v2.
|
/** |
|
* @var string|null The absolute path to the source file |
|
*/ |
|
private $absoluteFilePath; |
The Upgrade guide doesn't mention this. Is this a bug or a breaking change?
I maintain a legacy app with Smarty templates which causes a lot of Notice noise. We have been filtering these in the
before_sendcallback by comparing the last frame's absolute file path against the directory in which those Smarty templates reside in.After upgrading to
sentry/sdkv3, we noticed that these Notices were no longer filtered.Debugging showed that all
Frame->absoluteFilePaths are nownull, which hadn't been the case in v2.sentry-php/src/Frame.php
Lines 34 to 37 in f09173d
The Upgrade guide doesn't mention this. Is this a bug or a breaking change?