From 65ed03e0eb6cbfc8bf4fe8a01859bfc0ac155137 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 14 Oct 2024 15:18:51 -0300 Subject: [PATCH] fix: informar usuarie que no pudo acceder para debug closes #17571 --- app/controllers/concerns/exception_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/exception_handler.rb b/app/controllers/concerns/exception_handler.rb index a47278db..fa6415a8 100644 --- a/app/controllers/concerns/exception_handler.rb +++ b/app/controllers/concerns/exception_handler.rb @@ -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