debug: add missing Debug.Trace import
This commit is contained in:
parent
7acff8dce2
commit
8488711b56
@ -40,6 +40,8 @@ import Yesod.Routes.Class (Route, renderRoute)
|
|||||||
import Control.DeepSeq (($!!), NFData)
|
import Control.DeepSeq (($!!), NFData)
|
||||||
import UnliftIO.Exception
|
import UnliftIO.Exception
|
||||||
|
|
||||||
|
import Debug.Trace (traceStack)
|
||||||
|
|
||||||
-- | Convert a synchronous exception into an ErrorResponse
|
-- | Convert a synchronous exception into an ErrorResponse
|
||||||
toErrorHandler :: SomeException -> IO ErrorResponse
|
toErrorHandler :: SomeException -> IO ErrorResponse
|
||||||
toErrorHandler e0 = handleAny errFromShow $
|
toErrorHandler e0 = handleAny errFromShow $
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user