Skip to content

Commit

Permalink
Windows debugging: throw exception when shutdown request is received
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Nov 30, 2021
1 parent dfb2afc commit 19f88cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardano-node/src/Cardano/Node/Handlers/Shutdown.hs
Expand Up @@ -68,7 +68,8 @@ withShutdownHandling (Just fileDescriptor) trace action = do
case r of
Left e
| IO.isEOFError e -> do
traceWith tracer "Received shutdown request and shutting node down..."
traceWith tracer "Received shutdown request and shutting node down...throwIO"
throwIO e
| otherwise -> do
traceWith tracer "Received shutdown request but did not encounter EOL in --shutdown-ipc FD"
throwIO e
Expand Down

0 comments on commit 19f88cc

Please sign in to comment.