Skip to content

Fixes an exception when parsing intercalated errors and success msgs into generic_response #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

anarthal
Copy link
Collaborator

close #287

BOOST_TEST(ec == error_code());
exec_finished = true;
conn.cancel();
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Early feedback: when async_exec fails to execute the commands of a request it should complete with an error. I think all adapters work like this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How the hell do tests pass then? lol

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, none of general_aggregate nor general_simple seem to be setting the output error code on failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generic_response's adapter throws an exception when receiving an error in an intermediate command
2 participants