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

Long stack traces do not display correctly #6

Open
jamakal opened this issue Oct 11, 2018 · 0 comments
Open

Long stack traces do not display correctly #6

jamakal opened this issue Oct 11, 2018 · 0 comments

Comments

@jamakal
Copy link

jamakal commented Oct 11, 2018

When a very long stack trace is generated, it looks like the message that is sent to Slack is truncated. This means that the message sent to slack loses the 'end of code' termination, causing messages to be incorrectly formatted (three backticks displayed, message is not enclosed in a code block correctly) :

slack-log4j-long

Can be reproduced with:

        Exception exception = new RuntimeException();
        for (int i = 0; i < 20; i++) {
            exception.addSuppressed(new RuntimeException());
        }
        LOGGER.error("Long exception", exception);
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

1 participant