You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for putting this together. it's great! It doesn break with a nil error when there is no IP address though. I've changed the code for entity_ip_address to:
if (webhook['entity']['ip_addresses'].nil?)
entity_ip_address="not available"
else
entity_ip_address = webhook['entity']['ip_addresses']['default']
end
this should fix it :)
The text was updated successfully, but these errors were encountered:
Cool, thanks - and glad to hear someone is using this! I'll work that fix into the code when I get a chance.
I'm curious: Are you running your own instance of this, or are you using the hosted demo at Heroku?
When I wrote this, I had high hopes of turning it into a general webhook translation/forwarding service, with a set of preconfigured translations, and the ability to add custom translations, to work between any two services (not just Slack and Rackspace). I'd still like to do that, but I wonder if there is already something out there.
Hey @mp459, I just updated the github repo and the heroku app with your fix for a nil IP. I also made a number of other small fixes and enhancements. Thanks again for the contrib.
Thanks for putting this together. it's great! It doesn break with a nil error when there is no IP address though. I've changed the code for entity_ip_address to:
this should fix it :)
The text was updated successfully, but these errors were encountered: