Skip to content

Commit

Permalink
Disable sending email
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Nov 10, 2023
1 parent 48f0c8c commit cdc3480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/apps/ConvertUpdates.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public static void main(String[] args) throws IOException, InterruptedException
if (dataUpdate.length() == 0) {
System.err.println("Tried " + tried
+ " times to get the data, but it remains empty. This may or may not be a problem on the side of the data provider. Going to send a mail...");
Email.sendEmail(config("mail.sender"), config("mail.recipient"), "GND updates fails :(", FAIL_MESSAGE);
// see https://github.com/hbz/lobid-gnd/issues/350
// Email.sendEmail(config("mail.sender"), config("mail.recipient"), "GND updates fails :(", FAIL_MESSAGE);
} else {
System.err.println("Success getting the update, tried " + tried + " times");
writeLastSuccessfulUpdate(startAndEnd.getRight());
Expand Down

0 comments on commit cdc3480

Please sign in to comment.