Skip to content

Commit

Permalink
rescue Exception, not Object
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin authored and macournoyer committed Aug 2, 2008
1 parent 528a99a commit a125754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/thin/connection.rb
Expand Up @@ -87,7 +87,7 @@ def post_process(result)
# If no more request on that same connection, we close it.
close_connection_after_writing unless persistent?

rescue Object
rescue Exception
handle_error
ensure
terminate_request
Expand Down Expand Up @@ -175,4 +175,4 @@ def set_content_length(result)
end
end
end
end
end

0 comments on commit a125754

Please sign in to comment.