8000 Add previous to the exception output · symfony/symfony@5f63be6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f63be6

Browse files
ToshYfabpot
authored andcommitted
Add previous to the exception output
1 parent a44311e commit 5f63be6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Component/Messenger/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
7.2
55
---
66

7+
* Add `$previous` to the exception output at the `messenger:failed:show` command
78
* `WrappedExceptionsInterface` now extends PHP's `Throwable` interface
89
* Add `#[AsMessage]` attribute with `$transport` parameter for message routing
910
* Add `--format` option to the `messenger:stats` command

src/Symfony/Component/Messenger/Command/AbstractFailedMessagesCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ private function createCloner(): ?ClonerInterface
182182
Caster::PREFIX_VIRTUAL.'file' => $flattenException->getFile(),
183183
Caster::PREFIX_VIRTUAL.'line' => $flattenException->getLine(),
184184
Caster::PREFIX_VIRTUAL.'trace' => new TraceStub($flattenException->getTrace()),
185+
Caster::PREFIX_VIRTUAL.'previous' => $flattenException->getPrevious(),
185186
];
186187
}]);
187188

0 commit comments

Comments
 (0)
0