Commit 73b16ca1 authored by Iustin Pop's avatar Iustin Pop
Browse files

Annotate confd startup/luxi binding error

The luxi binding is now annotated for better readability.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent e14b84e9
......@@ -224,7 +224,8 @@ prepQueryD :: Maybe FilePath -> IO (FilePath, S.Socket)
prepQueryD fpath = do
let socket_path = fromMaybe Path.defaultQuerySocket fpath
cleanupSocket socket_path
s <- getServer socket_path
s <- describeError "binding to the Luxi socket"
Nothing (Just socket_path) $ getServer socket_path
return (socket_path, s)
-- | Main function that runs the query endpoint.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment