We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0efd0e0 commit b465ab9Copy full SHA for b465ab9
src/Collectors/ExceptionTraceCollector.php
@@ -21,6 +21,7 @@ public function collect(): array
21
{
22
return collect(explode(\PHP_EOL, $this->exception->getTraceAsString()))
23
->filter(static fn ($trace): bool => !Str::contains($trace, 'vendor'))
24
+ ->map(static fn ($trace): string => (string) str($trace)->replaceFirst(base_path(), ''))
25
->all();
26
}
27
0 commit comments