mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-05 01:10:43 -04:00
Use host name from settings for auth & added exception handing in QboInvoice
This commit is contained in:
1 parent
7cc8a946fd
commit
b1192a1912
2 files changed
+6
-2
No files matched your search
@@ -149,7 +149,11 @@ class QboInvoice < ActiveRecord::Base
|
||||
|
||||
# Push updates
|
||||
#invoice.sync_token += 1 if is_changed
|
||||
get_base.update(invoice) if is_changed
|
||||
begin
|
||||
get_base.update(invoice) if is_changed
|
||||
rescue
|
||||
# Do nothing, probaly too many vehicles on the invoice. This is a problem with how it's billed
|
||||
# TODO Add notes in memo area
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user