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

Gracefully fail when log messages are not valid json #246 #253

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

omriceisler
Copy link

Added an exception class to be used during the parsing attempt of the JSON message while building the message output.
In case the JSON is not valid or contains characters that cannot be decoded, a graceful failure will occur.

@coveralls
Copy link

coveralls commented Apr 28, 2019

Coverage Status

Coverage decreased (-0.8%) to 91.246% when pulling 1eb2f36 on omriceisler:master into 401870b on jorgebastida:master.

@omriceisler
Copy link
Author

Getting:
awslogs/core.py:100:5: C901 'AWSLogs.list_logs' is too complex (30)
ERROR: InvocationError for command /home/travis/build/jorgebastida/awslogs/.tox/lint/bin/flake8 awslogs (exited with code 1)

Although, i didn't touch it.

Any suggestions ?
@jorgebastida

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