Fix typo in APIHandler

This commit is contained in:
Omar Roth 2019-03-24 09:01:18 -05:00
parent 0c6cede287
commit 847ee61bf4

View file

@ -103,6 +103,7 @@ class APIHandler < Kemal::Handler
response = response.to_json
end
end
rescue
ensure
env.response.output = output
env.response.puts response