Skip to content

Fix: Check for errors after scanner.Scan() #140

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

Merged
merged 1 commit into from
May 13, 2019
Merged

Fix: Check for errors after scanner.Scan() #140

merged 1 commit into from
May 13, 2019

Conversation

lachlancooper
Copy link
Contributor

The scanner has a fixed buffer size of 1MB. If this is exceeded scanning will fail silently, leading to misleading diff output.

This helps improve the failure mode for #139.

The scanner has a fixed buffer size of 1MB. If this is exceeded
scanning will fail silently, leading to misleading diff output.
@lachlancooper lachlancooper changed the title Check for errors after scanner.Scan() Fix: Check for errors after scanner.Scan() May 6, 2019
Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks for fixing it ☺️

@mumoshu mumoshu merged commit 4c805f9 into databus23:master May 13, 2019
@lachlancooper lachlancooper deleted the check-scan-errors branch May 13, 2019 13:29
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

Successfully merging this pull request may close these issues.

2 participants