From 0aace0d88833d34b794e4f41b6dac8427f246f17 Mon Sep 17 00:00:00 2001 From: Ryan G <78384369+SpongeManiac@users.noreply.github.com> Date: Tue, 13 Jun 2023 00:32:07 -0700 Subject: [PATCH] Update authentication.cr --- src/invidious/routes/api/v1/authentication.cr | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/invidious/routes/api/v1/authentication.cr b/src/invidious/routes/api/v1/authentication.cr index e528b9e2..82d9fbea 100644 --- a/src/invidious/routes/api/v1/authentication.cr +++ b/src/invidious/routes/api/v1/authentication.cr @@ -38,10 +38,11 @@ module Invidious::Routes::API::V1::Authentication # send captcha if enabled if CONFIG.captcha_enabled captcha_response = nil - begin - captcha_response = CaptchaResponse.from_json(body_json) - rescue - end + captcha_response = CaptchaResponse.from_json(body_json) + # begin + # rescue ex + + # end if captcha_response answer = captcha_response.answer tokens = captcha_response.tokens