summaryrefslogtreecommitdiff
path: root/src/Erebos/Network.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Erebos/Network.hs')
-rw-r--r--src/Erebos/Network.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/Network.hs b/src/Erebos/Network.hs
index 6265bbf..b5cfa6b 100644
--- a/src/Erebos/Network.hs
+++ b/src/Erebos/Network.hs
@@ -1060,7 +1060,7 @@ modifyServiceGlobalState server proxy f = do
putTMVar (serverServiceStates server) global'
return res
Nothing -> do
- throwOtherError $ "unhandled service '" ++ show (toUUID svc) ++ "'"
+ throwErebosError $ UnhandledService svc
foreign import ccall unsafe "Network/ifaddrs.h erebos_join_multicast" cJoinMulticast :: CInt -> Ptr CSize -> IO (Ptr Word32)