mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 04:26:22 +00:00
parent
40edccf8bb
commit
ef482aaedf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue