Fix error handling in QueryMerger.

This commit is contained in:
levlam 2023-02-01 18:56:28 +03:00
parent d824cec905
commit 6be6871b5b

View File

@ -50,7 +50,7 @@ void QueryMerger::on_get_query_result(vector<int64> query_ids, Result<Unit> &&re
if (result.is_ok()) {
set_promises(promises);
} else {
fail_promises(promises, result.move_as_error());
fail_promises(promises, result.error().clone());
}
}
loop();