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

pugme occasionally crashes hubot #2

Open
qwo opened this issue Feb 13, 2015 · 2 comments
Open

pugme occasionally crashes hubot #2

qwo opened this issue Feb 13, 2015 · 2 comments
Labels

Comments

@qwo
Copy link

qwo commented Feb 13, 2015

love pugme.
some instances when running a command such as hubot pug me 12 etc it crashes hubot.

checking out the source it pulls from the pugme service. Trying to debug why it crashes. I noticed some of the results parsed from pugme have extra html tags in the results. Those results appear infrequently but when a larger number of pugs is requested, more likelylihood of a bad url is returned.

This led me to believe it might be from pugme why the bots crashing but its just a hunch.

http://pugme.herokuapp.com/bomb?count=1000

screenshot 2015-02-12 21 10 01

@technicalpickles
Copy link
Contributor

Interesting bug. Looks like an upstream problem.

I think the internet lost knowledge of who maintains pugme.herokuapp.com, so it's probably easier to try to strip the HTML here.

@technicalpickles
Copy link
Contributor

Replacing \".* with empty string should be a good start, although then you miss out on some pugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants