summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-24 09:01:18 -0500
committerOmar Roth <omarroth@hotmail.com>2019-03-24 09:01:18 -0500
commit847ee61bf4b961062c644956a286c856d3ecaad4 (patch)
tree5cf51f0eee8d2c34fb4ac61c9b362eb9b7d0c65c /src
parent0c6cede2874612c23fdc92615d7de1b656d8022c (diff)
downloadinvidious-847ee61bf4b961062c644956a286c856d3ecaad4.tar.gz
invidious-847ee61bf4b961062c644956a286c856d3ecaad4.tar.bz2
invidious-847ee61bf4b961062c644956a286c856d3ecaad4.zip
Fix typo in APIHandler
Diffstat (limited to 'src')
-rw-r--r--src/invidious/helpers/handlers.cr1
1 files changed, 1 insertions, 0 deletions
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