mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 07:41:42 +00:00
feat: enviar los headers en el reporte
This commit is contained in:
parent
690efe329c
commit
a99e03ce15
1 changed files with 2 additions and 1 deletions
|
@ -68,8 +68,9 @@ module Api
|
|||
|
||||
# respuesta de error a plataformas
|
||||
def platforms_answer(exception)
|
||||
ExceptionNotifier.notify_exception(exception, env: request.env, data: { headers: request.headers.to_h })
|
||||
|
||||
head :forbidden
|
||||
ExceptionNotifier.notify_exception(exception, env: request.env)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue