Commit a129f805 authored by Dominik Charousset's avatar Dominik Charousset

Fix do_on_error

parent 3a449590
...@@ -199,7 +199,7 @@ struct do_on_error_step { ...@@ -199,7 +199,7 @@ struct do_on_error_step {
template <class Next, class... Steps> template <class Next, class... Steps>
void on_error(const error& what, Next& next, Steps&... steps) { void on_error(const error& what, Next& next, Steps&... steps) {
fn(); fn(what);
next.on_error(what, steps...); next.on_error(what, steps...);
} }
}; };
......
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