From 847ee61bf4b961062c644956a286c856d3ecaad4 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 24 Mar 2019 09:01:18 -0500 Subject: [PATCH] Fix typo in APIHandler --- src/invidious/helpers/handlers.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/invidious/helpers/handlers.cr b/src/invidious/helpers/handlers.cr index 22fb1b70..9d5ebd23 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