send full messages to sentry
This commit is contained in:
parent
a4bd2aac0e
commit
f942675782
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class AssignTo < ApplicationRecord
|
|||
if errors.present?
|
||||
Sentry.capture_message(
|
||||
"Destroying invalid ProcedurePresentation",
|
||||
extra: { procedure_presentation_id: procedure_presentation.id, errors: }
|
||||
extra: { procedure_presentation_id: procedure_presentation.id, errors: errors.full_messages }
|
||||
)
|
||||
self.procedure_presentation = nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue