debug: add missing Debug.Trace import

This commit is contained in:
Sarah Vaupel 2023-04-19 14:01:46 +00:00
parent 7acff8dce2
commit 8488711b56

View File

@ -40,6 +40,8 @@ import Yesod.Routes.Class (Route, renderRoute)
import Control.DeepSeq (($!!), NFData)
import UnliftIO.Exception
import Debug.Trace (traceStack)
-- | Convert a synchronous exception into an ErrorResponse
toErrorHandler :: SomeException -> IO ErrorResponse
toErrorHandler e0 = handleAny errFromShow $