Return nil from storage exception block

pull/3402/head
Oliver Günther 9 years ago
parent 2c9b7ddde5
commit 4707096281
  1. 2
      lib/open_project/storage.rb

@ -97,6 +97,8 @@ module OpenProject
}
rescue SystemCallError, Sys::Filesystem::Error => e
Rails.logger.warn("Can't read storage information on #{dir}: #{e.message}")
nil
end
end
end

Loading…
Cancel
Save