aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-08-21 13:12:17 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-08-21 13:12:17 +0300
commit1d2b4bdec6ef6303d78afb04da9991b29bab7e93 (patch)
treef96750010b8ab0b28b5b6a9317d5fef80eed62ca
parentaf41ab40e1fc4888d1873a9ffe681ddafdfb4ee0 (diff)
Fix 'unterminated #else'
-rw-r--r--app/Server.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Server.hs b/app/Server.hs
index a045b07..c220307 100644
--- a/app/Server.hs
+++ b/app/Server.hs
@@ -1843,6 +1843,7 @@ fileNotFound =
throwServantError :: (MonadIO m) => ServerError -> m a
#else
throwServantError :: (MonadIO m) => ServantErr -> m a
+#endif
throwServantError = liftIO . throwIO
server :: Environment -> ServerT API Handler