Skip to content
Browse files

restoring proper 404 catches

  • Loading branch information...
1 parent f9986ba commit aeabf45c92ddd090bb8264422ceccb003954d0ce @JackDanger JackDanger committed Jan 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/image_monkey.rb
View
4 lib/image_monkey.rb
@@ -45,8 +45,8 @@ def initialize options={}
@img.write(thumbnail_path) { self.quality = 70 }
Smusher.optimize_image(thumbnail_path)
- # rescue Errno::ENOENT, OpenURI::HTTPError
- # @missing = true
+ rescue Errno::ENOENT, OpenURI::HTTPError
+ @missing = true
end
end

0 comments on commit aeabf45

Please sign in to comment.
Something went wrong with that request. Please try again.