git.iko.soy/distributed-process
on master help sign in
use simpler description when showing ProcessExitException
commit5f1c3f5e626eb468837cda6c39ee878359ce0ddc authorTim Watson <tim@rabbitmq.com> dateThu 17 Jan 2013, 01:34 (14 years ago) parentba0622a
1 file changed+2−2
distributed-process/src/Control/Distributed/Process/Internal/Primitives.hs+2−2
distributed-process/src/Control/Distributed/Process/Internal/Primitives.hs+2−2
@@ -382,8 +382,8 @@ instance Show ProcessExitException where
382382showProcessExit :: ProcessExitException -> String
383383showProcessExit (ProcessExitException pid reason) =
384384 case messageFingerprint reason == fingerprint (undefined :: String) of
385− True -> "exit-from=" ++ (show pid) ++ ",reason=" ++ decoded
386− False -> "exit-from=" ++ show pid
385+ True -> "origin=" ++ (show pid) ++ ",reason=" ++ decoded
386+ False -> "origin=" ++ show pid
387387 where decoded :: String
388388 !decoded = decode (messageEncoding reason)
389389