Skip to content

Commit af512b0

Browse files
authored
feat(core): add trace to exception logger (#1508)
1 parent 9745b28 commit af512b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/LogExceptionProcessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function process(Throwable $throwable): void
1515
$items = [
1616
'class' => $throwable::class,
1717
'exception' => $throwable->getMessage(),
18+
'trace' => $throwable->getTraceAsString(),
1819
'context' => ($throwable instanceof HasContext)
1920
? $throwable->context()
2021
: [],

0 commit comments

Comments
 (0)