From 8a1aa9ad1bf6c17e636c6275b73eb3680622a72f Mon Sep 17 00:00:00 2001 From: Fabricio Leonardo Sodano Pascazi Date: Thu, 6 Aug 2020 08:20:42 +1000 Subject: [PATCH] Agrega error del stack --- src/module/club/controller/clubController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/club/controller/clubController.js b/src/module/club/controller/clubController.js index ace016c..b469225 100644 --- a/src/module/club/controller/clubController.js +++ b/src/module/club/controller/clubController.js @@ -97,7 +97,7 @@ module.exports = class ClubController extends AbstractController { } res.redirect('/club'); } catch (e) { - req.session.errors = [e.message]; + req.session.errors = [e.message, e.stack]; res.redirect('/club'); } }