From 19d4746836c5dae3872baddfeaacdabd698684ee Mon Sep 17 00:00:00 2001 From: Jonas Betzendahl Date: Wed, 26 Jun 2024 23:18:26 +0200 Subject: [PATCH] Update Types.hs Improved docs for `verbose` parameter of the `Options` type. This documents the changes from #374 here as well. --- Web/Scotty/Internal/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Scotty/Internal/Types.hs b/Web/Scotty/Internal/Types.hs index 588c0df..224e2fa 100644 --- a/Web/Scotty/Internal/Types.hs +++ b/Web/Scotty/Internal/Types.hs @@ -47,7 +47,7 @@ import UnliftIO.Exception (Handler(..), catch, catches) --------------------- Options ----------------------- -data Options = Options { verbose :: Int -- ^ 0 = silent, 1(def) = startup banner +data Options = Options { verbose :: Int -- ^ Verbosity level: 0 = silent, 1 (default) = startup text, print unhandled exceptions to stderr , settings :: W.Settings -- ^ Warp 'Settings' -- Note: to work around an issue in warp, -- the default FD cache duration is set to 0