IntersectMBO / IntersectMBO/ouroboros-network

ExceededTimeLimit exceptions should not be classified as errors

Open
#3,049 2 comments 0 reactions 0 assignees View on GitHub
logging
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

The following one is classified as an `Error`
```
[neptune:cardano.node.DnsSubscription:Error:32402] [2021-04-07 06:45:13.50 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 3.129.48.231:3001 ExceededTimeLimit (ChainSync (Header (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) (Tip HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) (ServerAgency TokNext TokMustReply)
```

But this one is classified as a `Notice`:
```
{"thread":"180","loc":null,"data":{"address":"52.26.127.70:38909","kind":"ErrorPolicyTrace","event":"ErrorPolicySuspendConsumer (Just (ApplicationExceptionTrace ExceededTimeLimit (TxSubmission TxId (GenTx (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) GenTx (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) (ClientAgency TokTxs))) 20s"},"sev":"Notice","env":"1.26.1:62f38","msg":"","app":[],"host":"Server-D","pid":"2798","ns":["cardano.node.ErrorPolicy"],"at":"2021-04-07T16:52:12.34Z"}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.