agregar el origen del error en el asunto

This commit is contained in:
f 2021-04-16 12:10:32 -03:00
parent 1d6cf11d52
commit c9e0ce9c38

View file

@ -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