app/models/edgarj/sssn.rb in edgarj-4.06.00 vs app/models/edgarj/sssn.rb in edgarj-4.06.01
- old
+ new
@@ -93,10 +93,10 @@
:conditions=>['updated_at<?', Edgarj::BaseConfig::SESSION_TIME_OUT.minutes.ago.utc]) do
begin
session_id = s.session_id
s.destroy
logger.info("deleting session(#{session_id})")
- rescue ActiveRecord::RecordNotFound => ex
+ rescue ActiveRecord::RecordNotFound
logger.warn("session not found(#{session_id})")
end
end
raise ActiveRecord::Rollback if dry_run
end