Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Add tags to sync failures

Zach Gollwitzerd8e34cf791c1
diff --git a/app/models/sync.rb b/app/models/sync.rb
index 04141570c2..201fed0278 100644
--- a/app/models/sync.rb
+++ b/app/models/sync.rb
@@ -83,6 +83,7 @@ class Sync < ApplicationRecord
Sentry.capture_exception(error) do |scope|
scope.set_context("sync", { id: id, syncable_type: syncable_type, syncable_id: syncable_id })
+ scope.set_tags(sync_id: id)
end
update!(