@@ -380,10 +380,7 @@ catchExit act exitHandler = catch act handleExit
381 handleExit ex@(ProcessExitException from msg) =
381 handleExit ex@(ProcessExitException from msg) =
382 if messageFingerprint msg == fingerprint (undefined :: a)
382 if messageFingerprint msg == fingerprint (undefined :: a)
384− let reason = decoded
385− _ <- exitHandler from reason
383+ then exitHandler from decoded
387 else liftIO $ throwIO ex
384 else liftIO $ throwIO ex
389 decoded :: a
386 decoded :: a