Skip to content
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

ReplayMerge::doWork throws exceptions without descriptions. #1587

Closed
yeetfield opened this issue Apr 16, 2024 · 0 comments
Closed

ReplayMerge::doWork throws exceptions without descriptions. #1587

yeetfield opened this issue Apr 16, 2024 · 0 comments

Comments

@yeetfield
Copy link

At https://github.com/real-logic/aeron/blob/master/aeron-archive/src/main/cpp/client/ReplayMerge.h#L118 it seems like we're discarding the ex.what() present on the thrown exception, and it might be useful to propagate that so that callers of doWork have a useful error message. In my case, I was timing out after having specified an invalid replay destination endpoint and was trying to catch an aeron::util::TimeoutException before realizing that this specific type and its message was erased by doWork.

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

No branches or pull requests

2 participants