Skip to content

stop exploding when response is a string#88

Open
indirect wants to merge 1 commit intosocketry:mainfrom
indirect:main
Open

stop exploding when response is a string#88
indirect wants to merge 1 commit intosocketry:mainfrom
indirect:main

Conversation

@indirect
Copy link

Sometimes the value returned by Cloudflare isn't a hash. In those cases, this handler would previously just raise by trying to index into a string with a symbol key. My app no longer crashes with this patch, which I have been running for about 6 months now.

Types of Changes

  • Bug fix.

Contribution

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.

1 participant