aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2013-07-25 17:10:00 +0900
committerRhenium <rhenium@rhe.jp>2013-07-25 17:10:00 +0900
commita6a75c8ce39473cb9cd49ced132466803d533f37 (patch)
tree82fe0bacda34c55fc1fcc87295af00c636a9d4fc /app/models/account.rb
parentdc722021cfbca5fcbeaf4dd5c9bc3e9aab24495a (diff)
downloadaclog-a6a75c8ce39473cb9cd49ced132466803d533f37.tar.gz
fix login error when receiver is not started
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index ab8cd74..b3bcb4d 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -43,7 +43,7 @@ class Account < ActiveRecord::Base
elsif self.status == Account::DEACTIVATED
client.call(:unregister, Marshal.dump(self))
end
- rescue Errno::ECONNREFUSED
+ rescue Errno::ECONNREFUSED, Errno::ENOENT
Rails.logger.error($!)
end