Skip to content

Commit

Permalink
Add more loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Dec 20, 2023
1 parent 63e2fc5 commit 3b7af57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.orcid.persistence.dao.impl;

import java.math.BigInteger;

import javax.persistence.Query;

import org.orcid.persistence.dao.ProfileEventDao;
import org.orcid.persistence.jpa.entities.ProfileEventEntity;
import org.orcid.persistence.jpa.entities.ProfileEventType;

import javax.persistence.Query;
import java.math.BigInteger;
import java.util.List;

/**
*
* @author Daniel Palafox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ private void sendAddWorksToRecordEmailAttempt(int addWorksAttemptEmail, ProfileE
if (Features.SEND_ADD_WORKS_EMAILS.isActive()) {
LOGGER.info("Sending 'Add works' email reminder for {} days", addWorksAttemptEmail);
List<Pair<String, String>> elements = profileDaoReadOnly.findEmailsToSendAddWorksEmail(addWorksAttemptEmail);
LOGGER.debug("Found {} emails to send" , elements.size());
for (Pair<String, String> element: elements) {
String email = element.getLeft();
String userOrcid = element.getRight();
Expand Down

0 comments on commit 3b7af57

Please sign in to comment.