5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-21 22:56:22 +00:00

fix: informar usuarie que no pudo acceder para debug

closes #17571
This commit is contained in:
f 2024-10-14 15:18:51 -03:00
parent fc39a780ff
commit 65ed03e0eb
No known key found for this signature in database

View file

@ -32,7 +32,7 @@ module ExceptionHandler
flash[:error] = I18n.t('errors.page_unauthorized')
ExceptionNotifier.notify_exception(exception)
ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie.id })
redirect_to site_path(site)
end