diff --git a/source/exec.tex b/source/exec.tex index 4ecfdfc88b..b9d739c0b8 100644 --- a/source/exec.tex +++ b/source/exec.tex @@ -4604,7 +4604,7 @@ state.@\exposid{loop}@.run(); if (state.@\exposid{error}@) { - rethrow_exception(std::move(state.error)); + rethrow_exception(std::move(state.@\exposid{error}@)); } return std::move(state.@\exposid{result}@); \end{codeblock}