Skip to content

Update ct_watcher.ex (bug fix) #131

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

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

Conversation

mustafa-turgut
Copy link

Map.get("operators", []) ensures we get an empty list if "operators" is missing or nil.

Map.get("operators", []) ensures we get an empty list if "operators" is missing or nil.
@sm1thv1rus
Copy link

I was literally coming here to create a fork doing exactly this - This, along with Map.get("logs", []) seemed to solve all my "(Protocol.UndefinedError) protocol Enumerable not implemented for nil" errors

@mustafa-turgut
Copy link
Author

thanks but i found that it does not completely fix this issue so i pushed another commit right now

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