Add error message for reddit comments

pull/3/head
Omar Roth 7 years ago
parent 9886953fb6
commit caf82ccb8f

@ -218,6 +218,7 @@ get "/watch" do |env|
reddit_html = add_alt_links(reddit_html) reddit_html = add_alt_links(reddit_html)
rescue ex rescue ex
STDOUT << id << " : " << ex.message << "\n"
reddit_thread = nil reddit_thread = nil
reddit_html = "" reddit_html = ""
end end

Loading…
Cancel
Save