diff --git a/src/invidious/helpers/handlers.cr b/src/invidious/helpers/handlers.cr index 22fb1b706..9d5ebd239 100644 --- a/src/invidious/helpers/handlers.cr +++ b/src/invidious/helpers/handlers.cr @@ -103,6 +103,7 @@ class APIHandler < Kemal::Handler response = response.to_json end end + rescue ensure env.response.output = output env.response.puts response