File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
cardano-tracer/src/Cardano/Tracer/Handlers Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import Cardano.Tracer.MetaTrace
2626import Ouroboros.Network.Magic (NetworkMagic (.. ))
2727import Ouroboros.Network.NodeToClient (withIOManager )
2828
29+ import Control.Exception (SomeException (.. ))
2930import Control.Monad (when )
3031import qualified Data.Text as Text
3132
@@ -78,7 +79,8 @@ initReForwarder TracerConfig{networkMagic, hasForwarding}
7879 { initNetworkMagic = NetworkMagic networkMagic
7980 , initEKGStore = Nothing
8081 , initForwarderMode = Log. Responder
81- , initOnForwardInterruption = Nothing -- TODO:MKarg
82+ , initOnForwardInterruption = Just $ \ (SomeException e) ->
83+ traceWith teTracer (TracerForwardingInterrupted initHowToConnect $ show e)
8284 , initOnQueueOverflow = Nothing
8385 , ..
8486 }
You can’t perform that action at this time.
0 commit comments