be more specific with die reasons in Supervisor#87
be more specific with die reasons in Supervisor#87tavisrudd wants to merge 1 commit intohaskell-distributed:developmentfrom
die reasons in Supervisor#87Conversation
Several calls to `die` were using opaque reasons that were unhelpful to developers during debugging.
|
Hmn, I wonder if we should die with an object instead of just a string here. What do you think? Do we ever want to actually catchExit and handle these? |
|
I'm not sure if it's worth it in this case. One is an internal error. The other is a failure to resolve the return value from the proc passed to I'm not sure the |
|
I think you're right - it's not worth changing.
Yes I agree with that. Notice or error level I think, probably error IMO.
I don't see how that's possible given the nature of the
|
|
I think it should bring down the tree in the same cases where the child would be restarted: all but |
See discussion on PR haskell-distributed#87.
|
Had to do this by hand due to merge conflicts. Thanks @tavisrudd - I'll get to the rest of the patches now. |
Several calls to
diewere using opaque reasons that were unhelpful todevelopers during debugging.