Permalink
Browse files

don't try and catch exceptions here as they are already handled in th…

…e call method by Goliath
  • Loading branch information...
1 parent 0a0d228 commit 89215ad01dc5aae54e39e8890abde8df85cb4b8d @djones committed May 9, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 examples/grape/server.rb
@@ -62,11 +62,7 @@ class MyAPI < Grape::API
class APIServer < Goliath::API
def response(env)
- begin
- MyAPI.call(env)
- rescue Exception => e
- raise "#{e.message} - Backtrace: #{e.backtrace}"
- end
+ MyAPI.call(env)
end
end

0 comments on commit 89215ad

Please sign in to comment.