вводы/выводы - gateway

This commit is contained in:
etreschenkov 2023-06-22 12:49:56 +03:00
parent aa9081ccf3
commit b18e047f84

View file

@ -175,7 +175,8 @@ public class GatewayService extends QueueConsumer implements InitializingBean {
Map bodyResponse = response.getBody();
log.debug("Response from service: {}", bodyResponse != null ? bodyResponse : "empty");
} catch (Throwable err){
log.warn("Exchange error: {}", ExceptionUtils.getStackTrace(err));
log.error("Exchange error: {}", ExceptionUtils.getStackTrace(err));
} finally {
SentAsset sentAsset = new SentAsset();
sentAsset.setId(outboundRequest.getId());
sentAsset.setStatementId(assetOperation.getStatementId());