LP#1749475 Improve error handling in send_event_email_output
authorDan Wells <dbw2@calvin.edu>
Thu, 21 Feb 2019 16:08:33 +0000 (11:08 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 20:24:14 +0000 (15:24 -0500)
commit1d4f6f68ad25b55bdab8c0c4e4b014d3d7617f8c
tree9a58e676c72a0d0d95b8f4e78e67f07146ff6cb4
parentafe16e618916dde1bd8efa0ad2e2e10f29b65ff0
LP#1749475 Improve error handling in send_event_email_output

This code was borrowed from a few other places, so it still had the
$stat variable, but wasn't doing anything with it.  We might as well
go a step further and borrow the error handling that variable is there
for.

Ultimately, email handling should probably moved out to a utility
function rather than spread about.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm