Merge branch 'staging' of bitbucket.org:code2lab/sxrestaurant into osaka

This commit is contained in:
Yan
2017-07-18 18:07:26 +06:30
4 changed files with 135 additions and 45 deletions

View File

@@ -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"}