Skip to content

Commit

Permalink
Service::TimeoutError is a config error, don't report exception
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Nov 10, 2011
1 parent 69e3741 commit b9208d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/app.rb
Expand Up @@ -28,8 +28,7 @@ def self.service(svc)
status 400
boom.message
rescue Service::TimeoutError => boom
status 504
report_exception svc, data, boom
status 400
"Service Timeout"
rescue Object => boom
report_exception svc, data, boom
Expand Down

0 comments on commit b9208d3

Please sign in to comment.