Avoid swallowing exceptions unnecessarily.

This commit is contained in:
evazion
2019-08-29 00:24:00 -05:00
parent eba6440b8b
commit d73895312e
7 changed files with 7 additions and 24 deletions

View File

@@ -101,8 +101,6 @@ class SavedSearch < ApplicationRecord
redis.sadd(redis_key, post_ids)
redis.expire(redis_key, REDIS_EXPIRY)
end
rescue Exception
# swallow
end
end
end