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

And another string :( When expecting a time. #9

Open
angerman opened this issue Feb 6, 2015 · 2 comments
Open

And another string :( When expecting a time. #9

angerman opened this issue Feb 6, 2015 · 2 comments

Comments

@angerman
Copy link
Contributor

angerman commented Feb 6, 2015

Just invited a bot into a channel.

{"type":"channel_created","channel":{"id":"...","is_channel":true,"name":"...","created":"1423208534","creator":"..."},"event_ts":"1423208533.825935"}

when expecting a Time, encountered String instead
Please report this failure to the github issue tracker

looks like slackapi is a little buggy?

@mpickering
Copy link
Collaborator

Yes.. you would be right in assuming that. I also found it hard to write tests to test every entry point, if you have any suggestions then please let me know.

@angerman
Copy link
Contributor Author

angerman commented Feb 6, 2015

I think it would only help if one could install a validator on slack's end. Otherwise, we'd have to somehow come up with an approach that would make the slack api provide all variations of the json responses in a structured way. We can probably just keep reporting issues to them.

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

No branches or pull requests

2 participants