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

use minimum of the number of bytes or 128 #259

Merged

Conversation

johnmurphy01
Copy link
Contributor

@johnmurphy01 johnmurphy01 commented May 15, 2019

Issue #, if available: #258, #216

Description of changes: Refactored the verbose logging message in the subscription watcher so that it will output the minimum between data.count and 128 bytes. This should prevent any out of bounds exception that could be caused by Data.prefix(upTo:...)

If this isn't the desired fix, please provide any direction and I can adjust as needed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rohandubal rohandubal added AppSync contribution Community contribution PRs labels May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Community contribution PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants