paperclip.rake
5.13 KB
-
Remove bad exception handling! · 8253c89f
Exception is the root of Ruby's exception hierarchy, so when you rescue Exception you rescue from everything, including subclasses such as SyntaxError, LoadError, and Interrupt etc which is a bad idea. Fix: rescue from StandardError.
Gaurish Sharma committed