Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Add tags to sync failures

Zach Gollwitzerd8e34cf791c1
diff --git a/app/models/sync.rb b/app/models/sync.rb
index 04141570..201fed02 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!(