Skip to content

Commit

Permalink
Corretti livelli dei messaggi di log per le operazioni:
Browse files Browse the repository at this point in the history
- Elenco Flussi Rendicontazione con esito KO
- Invio notifica AppIO con errore comunicazione ricevuto dal server.
  • Loading branch information
pintorig committed Feb 7, 2023
1 parent 8124b2c commit 80732bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -797,7 +797,7 @@ private List<TipoIdRendicontazione> chiediListaFr(Stazione stazione, Dominio dom

if(risposta.getFault() != null) {
// Errore nella richiesta. Loggo e continuo con il prossimo psp
log.error("Richiesta elenco flussi rendicontazione fallita: " + risposta.getFault().getFaultCode() + " " + risposta.getFault().getFaultString());
log.warn("Richiesta elenco flussi rendicontazione fallita: " + risposta.getFault().getFaultCode() + " " + risposta.getFault().getFaultString());
ctx.getApplicationLogger().log("rendicontazioni.acquisizioneFlussiKo", risposta.getFault().getFaultCode() + " " + risposta.getFault().getFaultString());
if(chiediFlussoRendicontazioniClient != null) {
chiediFlussoRendicontazioniClient.getEventoCtx().setSottotipoEsito(risposta.getFault().getFaultCode());
Expand Down
Expand Up @@ -153,7 +153,7 @@ public void run() {
this.aggiornaNotificaDaSpedire(notificheBD, e.getMessage());
} catch(ApiException e) {
errore = true;
log.error("Invocazione AppIO terminata con codice di errore [" + e.getCode() + "]: " + e.getMessage());
log.info("Invocazione AppIO terminata con codice di errore [" + e.getCode() + "]: " + e.getMessage());

if(clientGetProfile != null) {
clientGetProfile.getEventoCtx().setSottotipoEsito(e.getCode() + "");
Expand Down

0 comments on commit 80732bc

Please sign in to comment.