@@ -184,13 +184,17 @@ public class FileServiceImp implements FileService {
errors.add("The following document is incomplete : "+string+", please review that both files : "+string+"_annotations.json and "+string+"_documents.json where included.");
@@ -212,8 +216,7 @@ public class FileServiceImp implements FileService {
errors.add("The document "+name+" has a documentId ("+doc.getLong("id")+") that was already processed and is present in the database. A document with the same documentId cannot be processed again.");
}
}catch(IOExceptione){
// TODO Auto-generated catch block
e.printStackTrace();
errors.add("The document file "+multipartFile+" is not a valid json files for the PretoxTM system.");