5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:26:22 +00:00

fix: el método es de clase

closes #15553
This commit is contained in:
f 2024-03-13 11:41:04 -03:00
parent 40edccf8bb
commit ef482aaedf
No known key found for this signature in database

View file

@ -52,8 +52,8 @@ module AasmEventsConcern
#
# @param exception [Exception]
# @param record [ApplicationRecord]
def notify_exception!(exception, record)
ExceptionNotifier.notify_exception(exception, data: { site: site.name, record_type: record.class.name, record_id: record.id })
def self.notify_exception!(exception, record)
ExceptionNotifier.notify_exception(exception, data: { record_type: record.class.name, record_id: record.id })
end
end
end