5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 16:06:23 +00:00

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