Add a new AlarmOutcome and exceptionDescription for AlarmResult#6345
Add a new AlarmOutcome and exceptionDescription for AlarmResult#6345
Conversation
|
Now let me post the review. Looking at the analysis:
The one real issue I see is the Looking at the diff for
The After careful review, I think this PR is well-structured and correctly solves the problem. The design choice to split LGTM |
d66eabd to
6607f2d
Compare
6607f2d to
917dfcb
Compare
917dfcb to
7d59465
Compare
44857d6 to
b88834e
Compare
We want to propagate the exception details via runAlarm. But because alarms use a ForkedPromise we can't copy the kj::String. For this, we setup a new alarmOutcome, that's copyable, and updated the AlarmResult to only include the exceptionDescription in the path where it's not copied
b88834e to
8d90af2
Compare
We want to propagate the exception details via
runAlarm. But because alarms use aForkedPromisewe can't copy thekj::String.We set up a new
alarmOutcome, that's copyable, and updated theAlarmResultto only include theexceptionDescriptionin the path where it's not copied