From d8e34cf791c1b07705375e802fb0931614ba7a91 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Mon, 28 Apr 2025 15:54:12 -0400 Subject: [PATCH] Add tags to sync failures --- app/models/sync.rb | 1 + 1 file changed, 1 insertion(+) 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!(