ilpv4-connector icon indicating copy to clipboard operation
ilpv4-connector copied to clipboard

Reduce logging emission for Packet rejections.

Open sentry-io[bot] opened this issue 5 years ago • 1 comments

This should just be logged as an info emission. It's not an error. We should adjust the emission to log as info if the maxPacket amount is lower than the packet; but emit warns otherise.

===

Sentry Issue: XPRING-ILP-TESTNET-10

Stacktrace (most recent call first):

    at org.interledger.connector.links.filters.OutgoingBalanceLinkFilter.lambda$doFilter$1(OutgoingBalanceLinkFilter.java:110)
    at org.interledger.core.InterledgerResponsePacket.handle(InterledgerResponsePacket.java:64)
    at org.interledger.connector.links.filters.OutgoingBalanceLinkFilter.doFilter(OutgoingBalanceLinkFilter.java:70)
    at org.interledger.connector.links.filters.DefaultLinkFilterChain.doFilter(DefaultLinkFilterChain.java:69)
    at org.interledger.connector.links.filters.OutgoingMaxPacketAmountLinkFilter.lambda$doFilter$2(OutgoingMaxPacketAmountLinkFilter.java:43)
    at java.util.Optional.orElseGet
    at org.interledger.connector.links.filters.OutgoingMaxPacketAmountLinkFilter.doFilter(OutgoingMaxPacketAmountLinkFilter.java:43)
    at org.interledger.connector.links.filters.DefaultLinkFilterChain.doFilter(DefaultLinkFilterChain.java:69)

Outgoing packet not applied due to ILP Reject. outgoingDestinationAccount=AccountSettings{accountRelationship=CHILD, assetCode=XRP, assetScale=9, customSettings={ilpOverHttp.outgoing.url=https://spsp-test.xpring.dev/ilp, ilpOverHttp.incoming.auth_type=SIMPLE, ilpOverHttp.outgoing.simple.auth_token=enc:gcpkms:connector:secret0:1:gs:CiQAxw4Qh2MH-gAwHD6RI3VdRejZj0Sonb1QW8d3LbgTtp8Som4SOQBDcjVn0nyjDf7wCr9pKOKJcik_FaYQPJ5AGNiQFqwXC1uOoa02tZvyhfOVsOPN7BQ800QjCj-odw==, ilpOverHttp.incoming.simple.auth_token=enc:gcpkms:connector:secret0:1:gs:CiQAxw4Qh1b-sOgxVWcn6KC_l_jbGWNdtpypRykkValGEexg4XsSSQBDcjVnoXvamd3IWhw8rEeZ8VPcBFnMokF9a-1zaLzOVQWdnygYhs1BUq5tbmXiSmX8zwgd-JlabfJevMIdBzWVP7EMkN-qhHc=, ilpOverHttp.outgoing.auth_type=SIMPLE}, accountId=theotherian, createdAt=2020-03-06T16:56:39.291433Z, modifiedAt=2020-03-06T16:56:39.291433Z, description=hermes account for theotherian, linkType=LinkType(ILP_OVER_HTTP), isInternal=false, isConnectionInitiator=true, ilpAddressSegment=theotherian, isSend...

sentry-io[bot] avatar Mar 06 '20 18:03 sentry-io[bot]

Sentry issue: XPRING-ILP-TESTNET-18

sentry-io[bot] avatar Mar 06 '20 18:03 sentry-io[bot]