Open chris-skud opened 7 years ago
Seeing this with the release 1.0.4
Sorry about that! We don't use Slack here so we're relying purely on unit tests to make sure it works. Guess we have some more tests to write 😃
Looks straightforward enough, but I want to write those new tests and make sure this problem isn't lurking in any other classes. I'll try to get a fix pushed up tomorrow - in the meantime 1.0.3 should work as long as you aren't trying to convert your SlackPublisher to a string anywhere.
Ok, this should be fixed as of f10aabf7a56a53 in the dev branch. Could yall try pulling down dev and making sure it's working for you? Once you've confirmed that it is, I'll push out a new pypi release.
(you can pull down the dev branch with pip using: pip install git+https://github.com/PearsonEducation/Alarmageddon.git@dev#egg=alarmageddon
)
With the addition of internal logging, the Slack Publisher throws the following error:
I believe hook_url needs a leading underscore here: https://github.com/PearsonEducation/Alarmageddon/blob/dev/alarmageddon/publishing/slack.py#L61