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

Better separator for local-remote parts of exceptions #7744

Closed
jerrinot opened this issue Mar 14, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@jerrinot
Copy link
Contributor

commented Mar 14, 2016

We use this separator when rewriting a stacktrace of exceptions:

private static final String EXCEPTION_SEPARATOR = "------ End remote and begin local stack-trace ------";

see: https://github.com/jerrinot/hazelcast/blob/eef987b9920f3f7b4c506e433b0d067cab9ba93c/hazelcast/src/main/java/com/hazelcast/util/ExceptionUtil.java#L31-L31

I always have to think hard to tell what part of the stacktrace is the local part and what is the remote part. The separator could indicate it. Something along this: ------ End remote stack-trace. Local stack-trace follows bellow ---

@pveentjer

This comment has been minimized.

Copy link
Member

commented Mar 17, 2016

Fixed in this pr:

#7761

@pveentjer pveentjer closed this Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.