sale void
This commit is contained in:
@@ -67,6 +67,8 @@ class Customer < ApplicationRecord
|
||||
'Accept' => 'application/json; version=3'
|
||||
},
|
||||
:timeout => 10)
|
||||
rescue Errno::ECONNREFUSED
|
||||
response = {status: false, message: "Can't open membership server " }
|
||||
rescue HTTParty::Error
|
||||
response = {status: false, message: "Server Error"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user