Skip to content

Commit

Permalink
use simpler description when showing ProcessExitException
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Watson committed Jan 17, 2013
1 parent ba0622a commit 5f1c3f5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -382,8 +382,8 @@ instance Show ProcessExitException where
showProcessExit :: ProcessExitException -> String
showProcessExit (ProcessExitException pid reason) =
case messageFingerprint reason == fingerprint (undefined :: String) of
True -> "exit-from=" ++ (show pid) ++ ",reason=" ++ decoded
False -> "exit-from=" ++ show pid
True -> "origin=" ++ (show pid) ++ ",reason=" ++ decoded
False -> "origin=" ++ show pid
where decoded :: String
!decoded = decode (messageEncoding reason)

Expand Down

0 comments on commit 5f1c3f5

Please sign in to comment.