@@ -362,7 +362,8 @@ data ProcessKillException =
362362
363363instance Exception ProcessKillException
364364instance Show ProcessKillException where
365− show (ProcessKillException pid reason) = "Kill by " ++ show pid ++ ": " ++ reason
365+ show (ProcessKillException pid reason) =
366+ "killed-by=" ++ show pid ++ ",reason=" ++ reason
366367
367368-- | Graceful request to exit a process
368369exit :: Serializable a => ProcessId -> a -> Process ()
@@ -379,7 +380,7 @@ data ProcessExitException =
379380
380381instance Exception ProcessExitException
381382instance Show ProcessExitException where
382− show (ProcessExitException pid _) = "Exit by " ++ show pid
383+ show (ProcessExitException pid _) = "exit-from=" ++ show pid
383384
384385-- | Catches ProcessExitException
385386catchExit :: forall a b . (Show a, Serializable a) => Process b -> (ProcessId -> a -> Process b) -> Process b