summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-09 10:47:25 -0600
committerOmar Roth <omarroth@hotmail.com>2018-03-09 10:47:25 -0600
commitcaf82ccb8f12afa6ff7d664bbd023074e36fefaf (patch)
tree02364cfb26a981fef713c01285546d9f8e9f903d /src
parent9886953fb68be60dcdd216995c7e061acc9a8f5b (diff)
downloadinvidious-caf82ccb8f12afa6ff7d664bbd023074e36fefaf.tar.gz
invidious-caf82ccb8f12afa6ff7d664bbd023074e36fefaf.tar.bz2
invidious-caf82ccb8f12afa6ff7d664bbd023074e36fefaf.zip
Add error message for reddit comments
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index dc0bc303..aa67dad8 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -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