gelstudios/dankBot

unf_ck this

gelstudios opened this issue · 0 comments

2016-04-06T15:07:12.898787+00:00 heroku[router]: at=info method=POST path="/" host=imgur-hipchat-dev.herokuapp.com request_id=b322b7f3-0f00-4cc2-b9de-8419e4c715a0 fwd="52.71.4.137" dyno=web.1 connect=1ms service=197ms status=500 bytes=932
2016-04-06T15:07:12.889380+00:00 app[web.1]: [dankBot] [DEBUG] search="$" resource="imgur" No results found.
2016-04-06T15:07:12.900470+00:00 app[web.1]: Traceback (most recent call last):
2016-04-06T15:07:12.900270+00:00 app[web.1]: [dankBot] [DEBUG] search="$" resource="giphy" No results found.
2016-04-06T15:07:12.900473+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/bottle.py", line 862, in _handle
2016-04-06T15:07:12.900475+00:00 app[web.1]:     return route.call(**args)
2016-04-06T15:07:12.900476+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/bottle.py", line 1732, in wrapper
2016-04-06T15:07:12.900476+00:00 app[web.1]:     rv = callback(*a, **ka)
2016-04-06T15:07:12.900477+00:00 app[web.1]:   File "hipchat.py", line 172, in handle
2016-04-06T15:07:12.900478+00:00 app[web.1]:     message = search_all(search=parsed)
2016-04-06T15:07:12.900478+00:00 app[web.1]:   File "hipchat.py", line 40, in search_all
2016-04-06T15:07:12.900479+00:00 app[web.1]:     message = random.choice(results)
2016-04-06T15:07:12.900480+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/random.py", line 275, in choice
2016-04-06T15:07:12.900481+00:00 app[web.1]:     return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty
2016-04-06T15:07:12.900481+00:00 app[web.1]: IndexError: list index out of range
2016-04-06T15:07:12.900930+00:00 app[web.1]: 10.43.199.90 - - [06/Apr/2016 15:07:12] "POST / HTTP/1.1" 500 758