File tree 1 file changed +2
-2
lines changed
packages/distributed-process-fsm/src/Control/Distributed/Process/FSM
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ callTimeout pid msg ti = bracket (monitor pid) unmonitor $ \mRef -> do
80
80
Just m -> do mR <- unwrapMessage m
81
81
case mR of
82
82
Just r -> return $ Just r
83
- _ -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
83
+ Nothing -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
84
84
85
85
-- | Make a synchronous /call/ to the FSM process at "ProcessId". If a
86
86
-- "Step" exists that upon receiving an event of type @m@ will eventually
@@ -98,4 +98,4 @@ call pid msg = bracket (monitor pid) unmonitor $ \mRef -> do
98
98
mR <- unwrapMessage msg'
99
99
case mR of
100
100
Just r -> return r
101
- _ -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
101
+ Nothing -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
You can’t perform that action at this time.
0 commit comments