Add error message for reddit comments

This commit is contained in:
Omar Roth 2018-03-09 10:47:25 -06:00
parent 9886953fb6
commit caf82ccb8f

View File

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