File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -319,9 +319,8 @@ main = do
319
319
320
320
let koreRespond, boosterRespond :: JSONRPC. Id -> Respond (API 'Req) (Booster.Log. LoggerT IO ) (API 'Res)
321
321
koreRespond reqId = Kore. respond (fromId reqId) kore. serverState (ModuleName kore. mainModule) runSMT
322
- boosterRespond reqId =
323
- Booster.Log. withContextFor reqId
324
- . Booster.Log. withContext CtxBooster
322
+ boosterRespond _reqId =
323
+ Booster.Log. withContext CtxBooster
325
324
. Booster. respond boosterState
326
325
327
326
proxyConfig =
@@ -339,9 +338,10 @@ main = do
339
338
srvSettings
340
339
( \ rawReq req ->
341
340
let reqId = getReqId rawReq
342
- in runBoosterLogger $
341
+ in runBoosterLogger $ do
343
342
logRequestId reqId
344
- >> Proxy. respondEither proxyConfig (boosterRespond reqId) (koreRespond reqId) req
343
+ Booster.Log. withContextFor reqId $
344
+ Proxy. respondEither proxyConfig (boosterRespond reqId) (koreRespond reqId) req
345
345
)
346
346
[ Kore. handleDecidePredicateUnknown
347
347
, Booster. handleSmtError
You can’t perform that action at this time.
0 commit comments