catching email exceptions
This commit is contained in:
parent
460156d734
commit
9abeb856a6
|
@ -657,8 +657,8 @@ LOGGER.debug("json: " + jsonArray);
|
||||||
try {
|
try {
|
||||||
emailUtils.sendAdminRegisterInterfaceEmail(e, comment, repositoryInterface, SecurityContextHolder.getContext().getAuthentication());
|
emailUtils.sendAdminRegisterInterfaceEmail(e, comment, repositoryInterface, SecurityContextHolder.getContext().getAuthentication());
|
||||||
emailUtils.sendUserRegisterInterfaceEmail(e, comment, repositoryInterface, SecurityContextHolder.getContext().getAuthentication());
|
emailUtils.sendUserRegisterInterfaceEmail(e, comment, repositoryInterface, SecurityContextHolder.getContext().getAuthentication());
|
||||||
} catch (Exception e) {
|
} catch (Exception ex) {
|
||||||
LOGGER.error("Error sending emails: " + e);
|
LOGGER.error("Error sending emails: " + ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
submitInterfaceValidation(e, registeredBy, repositoryInterface, false);
|
submitInterfaceValidation(e, registeredBy, repositoryInterface, false);
|
||||||
|
|
Loading…
Reference in New Issue