summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-09-21 09:49:08 -0500
committerOmar Roth <omarroth@hotmail.com>2018-09-21 09:49:08 -0500
commitb56d07556e2e2f27430f13436cc2df06a87b774c (patch)
tree3a2fa53a36088423abecd38d4c6e0e20a3f0c0c2
parenta68924f0ceb97bfccc6fddf53934ef8611db0f04 (diff)
downloadinvidious-b56d07556e2e2f27430f13436cc2df06a87b774c.tar.gz
invidious-b56d07556e2e2f27430f13436cc2df06a87b774c.tar.bz2
invidious-b56d07556e2e2f27430f13436cc2df06a87b774c.zip
Remove break point
-rw-r--r--src/invidious.cr2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index c2e174a1..65d5b109 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -2376,8 +2376,6 @@ get "/api/v1/channels/:ucid" do |env|
begin
author, ucid, auto_generated = get_about_info(ucid)
rescue ex
- puts ex.message
-
error_message = {"error" => "User does not exist"}.to_json
halt env, status_code: 404, response: error_message
end