File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/Control/Distributed/Process
Management/Internal/Trace Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,8 @@ receiveWait ms = do
403
403
mProc <- liftIO $ dequeue queue Blocking (map unMatch ms)
404
404
case mProc of
405
405
Just proc' -> proc'
406
- Nothing -> error " Well... That wasn't supposed to happen! o_O"
406
+ Nothing -> die $ " System Invariant Violation: CQueue.hs returned `Nothing` "
407
+ ++ " in the absence of a timeout value."
407
408
408
409
-- | Like 'receiveWait' but with a timeout.
409
410
--
Original file line number Diff line number Diff line change @@ -174,5 +174,6 @@ withRegisteredTracer act = do
174
174
-- is not considered cool in later versions of MonadFail
175
175
case mTP of
176
176
Just p' -> act p'
177
- Nothing -> die " Initial Tracer Name Not Registered"
177
+ Nothing -> die $ " System Invariant Violation: Initial Tracer "
178
+ ++ " Name Not Found (whereis tracer.initial)"
178
179
(Just p) -> act p
You can’t perform that action at this time.
0 commit comments