Skip to content

Commit

Permalink
FIX : suppression affichage doublon log
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-maraval committed Sep 5, 2024
1 parent f852e8f commit effad3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/fr/abes/bestppn/service/WsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ public ResultWsSudocDto callDoi2Ppn(String doi, @Nullable String provider) throw
result.setUrl(urlDoi2Ppn + "?provider=" + provider + "&doi=" + doi);
}
else {
String message = "doi : " + doi + " / provider " + provider + " : aucun ppn ne correspond à la recherche";
log.warn(message);
throw new IllegalDoiException(message);
throw new IllegalDoiException("doi : " + doi + " / provider " + provider + " : aucun ppn ne correspond à la recherche");
}
return result;
}
Expand Down

0 comments on commit effad3f

Please sign in to comment.