Merge branch 'staging' of bitbucket.org:code2lab/sxrestaurant into osaka
This commit is contained in:
@@ -67,6 +67,9 @@ class Customer < ApplicationRecord
|
||||
},
|
||||
:timeout => 10
|
||||
)
|
||||
rescue HTTParty::Error
|
||||
response = {status: false, message: "Can't open membership server " }
|
||||
|
||||
rescue Net::OpenTimeout
|
||||
response = { status: false , message: "Server Time out"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user