Bug 28803: (follow-up) Error details improvement
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 13 Sep 2021 09:18:46 +0000 (10:18 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Sep 2021 08:22:36 +0000 (10:22 +0200)
commit33165bd22e3e5127e68fb4ee51126ae1b4925f3f
tree3ca5f6443894b8461b50434329e423501b3bc715
parent9cfbdee6a84516de245798301916ac23705c46b7
Bug 28803: (follow-up) Error details improvement

This patch updates the exceptions thrown by Koha::Email to include the
parameter that failed email validation and then updates the failure code
to include this parameter and finally display this field in the template.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Letters.pm
Koha/Email.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt
t/db_dependent/Letters.t