Commit 03adb574 authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #394 from Lingxi-Li/topic/resume_bugfix

Fix exception handling in `local_actor::resume()`
parents 2c4cf9af a0adb1ab
......@@ -650,7 +650,8 @@ resumable::resume_result local_actor::resume(execution_unit* eu,
}
if (eptr) {
auto opt_reason = self->handle(eptr);
rsn = *opt_reason;
rsn = opt_reason ? *opt_reason
: exit_reason::unhandled_exception;
}
self->planned_exit_reason(rsn);
try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment