Add tags to sync failures

This commit is contained in:
Zach Gollwitzer
2025-04-28 15:54:12 -04:00
parent e70295394a
commit d8e34cf791

View File

@@ -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!(