Small whitespace fix.

This commit is contained in:
Andres Loeh 2016-01-28 11:08:22 +01:00
parent 2934bac40c
commit 927009408b

View file

@ -240,9 +240,9 @@ runAction :: Delayed (ExceptT ServantErr IO a)
-> IO r -> IO r
runAction action respond k = runDelayed action >>= go >>= respond runAction action respond k = runDelayed action >>= go >>= respond
where where
go (Fail e) = return $ Fail e go (Fail e) = return $ Fail e
go (FailFatal e) = return $ FailFatal e go (FailFatal e) = return $ FailFatal e
go (Route a) = do go (Route a) = do
e <- runExceptT a e <- runExceptT a
case e of case e of
Left err -> return . Route $ responseServantErr err Left err -> return . Route $ responseServantErr err