Sentry-php: v3: Frame->absoluteFilePath is always null

Created on 8 Oct 2020  路  3Comments  路  Source: getsentry/sentry-php

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.

https://github.com/getsentry/sentry-php/blob/f09173d6100a0fd802b666b8a00c0bd2a1b472a3/src/Frame.php#L34-L37

The Upgrade guide doesn't mention this. Is this a bug or a breaking change?

Confirmed Bug

All 3 comments

Oh, it looks like this bug was already reported in #1103 and fixed in #1104.

You are correct, this fix will be released later.

I'll close the issue in the meantime since it was already fixed.

3.0.3 was just released fixing this 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunowowk picture brunowowk  路  5Comments

Kleingeld picture Kleingeld  路  5Comments

mitchhentges picture mitchhentges  路  3Comments

parichayawalia picture parichayawalia  路  3Comments

Nix-id picture Nix-id  路  5Comments