mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:41:41 +00:00
agregar el origen del error en el asunto
This commit is contained in:
parent
1d6cf11d52
commit
c9e0ce9c38
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class BacktraceJob < ApplicationJob
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
raise BacktraceException, params['errors']&.first&.dig('message')
|
raise BacktraceException, "#{params.dig('context', 'url')}: #{params['errors']&.first&.dig('message')}"
|
||||||
rescue BacktraceException => e
|
rescue BacktraceException => e
|
||||||
ExceptionNotifier.notify_exception(e, data: { site: site.name, params: params, _backtrace: true })
|
ExceptionNotifier.notify_exception(e, data: { site: site.name, params: params, _backtrace: true })
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue