aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_controller/caching.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb
index bad397c2a8..8ca01fa9b0 100644
--- a/actionpack/lib/action_controller/caching.rb
+++ b/actionpack/lib/action_controller/caching.rb
@@ -372,7 +372,7 @@ module ActionController #:nodoc:
def delete(name, options) #:nodoc:
File.delete(real_file_path(name))
rescue SystemCallError => e
- Base.logger.error "Couldn't expire cache #{name} (#{e.message})" unless Base.logger.nil?
+ # If there's no cache, then there's nothing to complain about
end
def delete_matched(matcher, options) #:nodoc:
@@ -381,7 +381,7 @@ module ActionController #:nodoc:
begin
File.delete(f)
rescue Object => e
- Base.logger.error "Couldn't expire cache: #{f} (#{e.message})" unless Base.logger.nil?
+ # If there's no cache, then there's nothing to complain about
end
end
end