chore(sentry): set procedure id tag on instructeurs controller

This commit is contained in:
Colin Darie 2023-05-22 18:17:42 +02:00
parent ff8fba3725
commit b1435e18a9
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -314,6 +314,7 @@ module Instructeurs
Procedure
.with_attached_logo
.find(procedure_id)
.tap { Sentry.set_tags(procedure: _1.id) }
end
def ensure_ownership!