Skip to content
Snippets Groups Projects
Commit 7346866e authored by pkupczyk's avatar pkupczyk
Browse files

SP-49 / BIS-38: Processing task to verify dataset versus checksums in PathInfoDB

SVN: 26129
parent be843d74
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,10 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr ...@@ -115,7 +115,10 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr
} }
} }
sendEmail(datasets, context, differences, status); if (status.getErrorStatuses().isEmpty())
{
sendEmail(datasets, context, differences);
}
return status; return status;
} }
...@@ -192,7 +195,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr ...@@ -192,7 +195,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr
} }
private void sendEmail(List<DatasetDescription> datasets, DataSetProcessingContext context, private void sendEmail(List<DatasetDescription> datasets, DataSetProcessingContext context,
Map<DatasetDescription, List<Difference>> differences, ProcessingStatus status) Map<DatasetDescription, List<Difference>> differences)
{ {
IEmailSender mailSender = IEmailSender mailSender =
new MailService(context.getMailClient(), context.getUserEmailOrNull()) new MailService(context.getMailClient(), context.getUserEmailOrNull())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment