Skip to content

Commit

Permalink
exclude index.php from in_app files
Browse files Browse the repository at this point in the history
  • Loading branch information
ilvalerione committed Dec 10, 2024
1 parent 1ac9003 commit 4b1fd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Configuration
/**
* @var string
*/
protected $version = '3.8.7';
protected $version = '3.8.8';

/**
* Transport options.
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function stackTraceToArray(\Throwable $throwable)
// http://php.net/manual/en/exception.gettrace.php#107563

$inApp = function ($file) {
return \strpos($file, 'vendor') === false;
return \strpos($file, 'vendor') === false && \strpos($file, 'index.php') === false;
};

$stack[] = [
Expand Down

0 comments on commit 4b1fd4b

Please sign in to comment.