mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update customer.rb
This commit is contained in:
@@ -95,7 +95,11 @@ class Customer < ActiveRecord::Base
|
||||
|
||||
# returns the QBO customer
|
||||
def get_customer (id)
|
||||
get_base.find_by_id(id)
|
||||
begin
|
||||
return get_base.find_by_id(id)
|
||||
rescue
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
# proforms a bruteforce sync operation
|
||||
|
||||
Reference in New Issue
Block a user