Skip to content

Commit

Permalink
Remove "_Original" from class name in stacktraces
Browse files Browse the repository at this point in the history
Addition to #12
  • Loading branch information
robertlemke committed Jun 24, 2022
1 parent aecb01b commit ff25743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/SentryClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ private function prepareStacktrace(mixed $throwable = null): Stacktrace
foreach ($stacktrace->getFrames() as $frame) {
$classPathAndFilename = $this->renderCleanPathAndFilename($frame->getFile());
$frames [] = new Frame(
$frame->getFunctionName(),
str_replace('_Original::', '::', (string)$frame->getFunctionName()),
$classPathAndFilename,
$frame->getLine(),
$frame->getRawFunctionName(),
Expand Down

0 comments on commit ff25743

Please sign in to comment.