mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:16:21 +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 exception [Exception]
|
||||||
# @param record [ApplicationRecord]
|
# @param record [ApplicationRecord]
|
||||||
def notify_exception!(exception, record)
|
def self.notify_exception!(exception, record)
|
||||||
ExceptionNotifier.notify_exception(exception, data: { site: site.name, record_type: record.class.name, record_id: record.id })
|
ExceptionNotifier.notify_exception(exception, data: { record_type: record.class.name, record_id: record.id })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue