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

scanning caught an error: bufio.Scanner: token too long #66

Open
zyfzzz opened this issue Jun 19, 2023 · 0 comments
Open

scanning caught an error: bufio.Scanner: token too long #66

zyfzzz opened this issue Jun 19, 2023 · 0 comments

Comments

@zyfzzz
Copy link

zyfzzz commented Jun 19, 2023

Hi,

This is eseentially the same issue as #53. My JSON payload is larger than 1MB thus crashing the program. I want to suggest using scanner.Err() == bufio.ErrTooLong to handle such cases.

KevRiver added a commit to KevRiver/humanlog that referenced this issue Nov 2, 2024
@aybabtme aybabtme mentioned this issue Nov 3, 2024
2 tasks
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