-
-
Notifications
You must be signed in to change notification settings - Fork 463
Closed
Description
How do you use Sentry?
Self-hosted / on-premises
SDK version
4.11
Steps to reproduce
I'm extracting the issue from closed one about anonymous classes.
Similar issue happens for PHP 8.4, but for closures.
Example:
https://3v4l.org/g3Stta
try {
$test = function() {
throw new Exception('exc');
};
$test();
} catch (Throwable $e) {
var_dump($e->getTrace());
}Expected result
Grouping By Exception Stack-trace and using prefixes option ignores the path of closures.
Actual result
The path prefix is not cut properly from the closures in the stack trace.
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner