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
|
||||
|
||||
begin
|
||||
raise BacktraceException, params['errors']&.first&.dig('message')
|
||||
raise BacktraceException, "#{params.dig('context', 'url')}: #{params['errors']&.first&.dig('message')}"
|
||||
rescue BacktraceException => e
|
||||
ExceptionNotifier.notify_exception(e, data: { site: site.name, params: params, _backtrace: true })
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue