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

Abbreviated websocket errors mask actual error #2024

Open
mmzeeman opened this issue Mar 21, 2019 · 2 comments
Open

Abbreviated websocket errors mask actual error #2024

mmzeeman opened this issue Mar 21, 2019 · 2 comments
Labels

Comments

@mmzeeman
Copy link
Member

The information which is logged for websockets when something errors is so large it is abbreviated. Unfortunately enough does the abbreviated part contain the error which happened. This leads to a lot of guesswork.

Can we change this so it will contain the traceback?

Screenshot 2019-03-21 at 08 35 39

@mmzeeman mmzeeman added the core label Mar 21, 2019
@mworrell
Copy link
Member

Should be possible, if i remember correctly lager has some options for preprocessing the output. It would help a lot, as this happens more often. If we are looking into this, maybe we can also pretty print the output? (someone did that before, have to find it again)

https://github.com/erlang-lager/lager#custom-formatting

@mworrell
Copy link
Member

Found the pretty printing: https://github.com/erlang-lager/lager#exception-pretty-printing

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

No branches or pull requests

2 participants