mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Stop rescuing nil
which is a really bad thing to do.
This commit is contained in:
@@ -45,7 +45,7 @@ class FileHelper
|
||||
|
||||
tmp
|
||||
ensure
|
||||
downloaded&.close! rescue nil
|
||||
downloaded&.close
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user