Open ticky opened 7 years ago
Do you know what codes it tends to fail with? Or is it not very predictable?
The last issue it encountered was a Net::ReadTimeout
on museum_things.rb:61
.
I suspect that’ll be the most common problem - empty query sets still return 200
. Might also be worth adding a handler for 500
s.
If the Museums Victoria API fails for any reason, there just won’t be a tweet that time. Should try a few times if something fails!