Closed samwright closed 2 months ago
Previously this code was checking if Some[Throwable] can be matched with PayloadField, which will never happen. We should be matching Throwable to PayloadField.
Some[Throwable]
PayloadField
Throwable
@samwright Looks good, thanks for catching it! @bvenners do you mind to review it for approval?
Thanks.
samwright:fix-failure-payload
samwright:fix-failure-payloadretronym:feature/assumption-failure
Previously this code was checking if
Some[Throwable]
can be matched withPayloadField
, which will never happen. We should be matchingThrowable
toPayloadField
.