Merge pull request #8124 from atmire/javax-mail-update

Javax mail update
This commit is contained in:
Tim Donohue
2022-01-20 10:44:00 -06:00
committed by GitHub
4 changed files with 10 additions and 10 deletions

View File

@@ -481,8 +481,8 @@
<artifactId>commons-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>

View File

@@ -681,7 +681,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
}
} catch (MessagingException e) {
log.warn(LogHelper.getHeader(context, "notifyOfArchive",
"cannot email user" + " item_id=" + item.getID()));
"cannot email user" + " item_id=" + item.getID()), e);
}
}
@@ -715,7 +715,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
} catch (MessagingException e) {
log.warn(LogHelper.getHeader(c, "notifyOfCuration",
"cannot email users of workflow_item_id " + wi.getID()
+ ": " + e.getMessage()));
+ ": " + e.getMessage()), e);
}
}
@@ -1196,7 +1196,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
log.warn(LogHelper.getHeader(c, "notify_of_reject",
"cannot email user" + " eperson_id" + e.getID()
+ " eperson_email" + e.getEmail()
+ " workflow_item_id" + wi.getID()));
+ " workflow_item_id" + wi.getID()), ex);
}
}